aboutsummaryrefslogtreecommitdiffstats
path: root/test/vector2d_test.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-05-19 22:49:47 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-05-19 22:49:47 +0100
commit3014c3bc831d613c2de7513aefdc7d3cb711b749 (patch)
tree658734c4f51f5f395a25dd0f6115b2d74db38584 /test/vector2d_test.cpp
parent8685dbe55fdd50a6a3ce5bab495b9718330af8dd (diff)
downloadYAGE-3014c3bc831d613c2de7513aefdc7d3cb711b749.tar.gz
YAGE-3014c3bc831d613c2de7513aefdc7d3cb711b749.zip
Fixed cmake and making precise vector
Diffstat (limited to 'test/vector2d_test.cpp')
-rw-r--r--test/vector2d_test.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/test/vector2d_test.cpp b/test/vector2d_test.cpp
index 2c37bba7..20a5be3e 100644
--- a/test/vector2d_test.cpp
+++ b/test/vector2d_test.cpp
@@ -1,2 +1,15 @@
-#include <YAGE/Math/vector2d.hpp>
+#include "vector2d.hpp"
+#include <iostream>
+
+int main()
+{
+ yage::Vector2D v;
+ yage::Vector2D v2(1, 5);
+
+ v=v2;
+
+ std::cout<<v<<'\n';
+
+ return 0;
+}