aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-09-02 12:23:28 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-09-02 12:23:28 +0100
commit87311540bde93dc6ebf0aeb8fbac122346a99821 (patch)
treebda1dfea1f387a1358780267d113428f6723015e /test
parenta992108e5b6383450a147a0a0ef54576dca5bd95 (diff)
downloadYAGE-87311540bde93dc6ebf0aeb8fbac122346a99821.tar.gz
YAGE-87311540bde93dc6ebf0aeb8fbac122346a99821.zip
Fixed includes and standardized them
Diffstat (limited to 'test')
-rw-r--r--test/matrixtest.cpp7
-rw-r--r--test/particlebodytest.cpp6
-rw-r--r--test/windowtest.cpp5
-rw-r--r--test/yagetest.cpp4
4 files changed, 10 insertions, 12 deletions
diff --git a/test/matrixtest.cpp b/test/matrixtest.cpp
index c969f39f..b570f6d4 100644
--- a/test/matrixtest.cpp
+++ b/test/matrixtest.cpp
@@ -6,15 +6,14 @@
* ----------------------------------------------------------------------------
*/
+#include <YAGE/Math/math.h>
+#include <gtest/gtest.h>
+
#include <algorithm>
#include <cstdlib>
#include <ctime>
#include <vector>
-#include "Math/math.hpp"
-
-#include "gtest/gtest.h"
-
template <int Size>
int matrixAddition(int num1, int num2)
{
diff --git a/test/particlebodytest.cpp b/test/particlebodytest.cpp
index 65c3885c..b359cb73 100644
--- a/test/particlebodytest.cpp
+++ b/test/particlebodytest.cpp
@@ -6,12 +6,12 @@
* ----------------------------------------------------------------------------
*/
+#include <YAGE/Physics/particlebody.h>
+#include <gtest/gtest.h>
+
#include <cmath>
#include <cstdlib>
-#include "Physics/particlebody.hpp"
-#include "gtest/gtest.h"
-
double gravityAcceleration(int iterations)
{
yage::ParticleBody body;
diff --git a/test/windowtest.cpp b/test/windowtest.cpp
index 22760c21..e6739720 100644
--- a/test/windowtest.cpp
+++ b/test/windowtest.cpp
@@ -6,9 +6,8 @@
* ----------------------------------------------------------------------------
*/
-#include "gtest/gtest.h"
-
-#include "yage.hpp"
+#include <YAGE/yage.h>
+#include <gtest/gtest.h>
TEST(Window, Open)
{
diff --git a/test/yagetest.cpp b/test/yagetest.cpp
index 39ef5072..8d590b4a 100644
--- a/test/yagetest.cpp
+++ b/test/yagetest.cpp
@@ -6,9 +6,9 @@
* ----------------------------------------------------------------------------
*/
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
-#include "yage.hpp"
+#include <YAGE/yage.h>
TEST(YAGE, InitQuit)
{