aboutsummaryrefslogtreecommitdiffstats
path: root/test/vector2d_test.cpp
diff options
context:
space:
mode:
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;
+}