summaryrefslogtreecommitdiff
path: root/modules/codec/tests/math.cpp
blob: 4240df551f8d0656671b6efcfa121c98f2625410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
}
}