8{
9 test_ostream(
Tensor3<double, 2, 2, 2>(3., 4., 7., 8., 11., 12., 13., 14.),
10 "[[[3,4],[7,8]],[[11,12],[13,14]]]", "operator<<(T3<3,3,2>)");
11
13 std::stringstream ss("[[[3,4],[7,8]],[[11,12],[13,14]]]");
14 ss >> t3_1;
23}
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)