8{
10 Tensor2<double, 3, 3>(3., 7., 11., 13., 17., 23., 27., 31., 37.),
11 "[[3,7,11],[13,17,23],[27,31,37]]", "operator<<(T2<3,3>)");
13 "operator<<(T2<1,2>)");
15 "operator<<(T2<2,1>)");
16
18 std::stringstream ss("[[3,7,11],[13,17,23],[27,31,37]]");
19 ss >> t2_1;
29}
void test_for_zero(const T &t, const std::string &s)
void test_ostream(const T &t, const std::string &expected, const std::string &test_name)