#include "../../src/FTensor.hpp"
#include "test_for_zero.hpp"
#include <iostream>
Go to the source code of this file.
◆ test_T0()
Definition at line 7 of file test_T0.cpp.
9{
13
14
15
16 t0_1 = T + t0_2;
18 t0_1 += 10 + t0_2;
20 t0_1 -= 5 + 3 * t0_2;
22 t0_1 *= 2 + t0_2;
24 t0_1 /= 7.0 + t0_2;
25 test_for_zero(t0_1 - (5 + T - t0_2) * (2 + t0_2) / (7.0 + t0_2),
"T0/=T");
26}
void test_for_zero(const T &t, const std::string &s)