summaryrefslogtreecommitdiff
path: root/modules/codec/tests/math.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/tests/math.cpp')
-rw-r--r--modules/codec/tests/math.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/codec/tests/math.cpp b/modules/codec/tests/math.cpp
new file mode 100644
index 0000000..4240df5
--- /dev/null
+++ b/modules/codec/tests/math.cpp
@@ -0,0 +1,32 @@
+#include <forstio/test/suite.hpp>
+#include "../c++/data.hpp"
+#include "../c++/data_math.hpp"
+#include "../c++/csv.hpp"
+
+#include <iostream>
+
+namespace {
+namespace sch {
+using namespace saw::schema;
+}
+/*
+SAW_TEST("Math/Basic"){
+ using namespace saw;
+
+ data<sch::Vector<sch::Float64,2u>> a;
+ data<sch::Vector<sch::Float64,2u>> b;
+
+ auto c = a + b;
+}
+*/
+
+SAW_TEST("Math/Tensor"){
+ using namespace saw;
+
+ data<sch::Matrix<sch::Float64,2u,2u> > a;
+
+ data<sch::Matrix<sch::Float64,2u,2u> > b;
+
+ auto c = a + b;
+}
+}