MCPcopy Create free account
hub / github.com/boutproject/BOUT-dev / ExpressionParserTest

Class ExpressionParserTest

tests/unit/sys/test_expressionparser.cxx:20–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18};
19
20class ExpressionParserTest : public ::testing::Test {
21public:
22 ~ExpressionParserTest() override = default;
23 ExpressionParserSubClass parser;
24 std::vector<double> x_array = {-1., 0., 1., 5., 10., 3.14e8};
25 std::vector<double> y_array = {-1., 0., 1., 5., 10., 3.14e8};
26 std::vector<double> z_array = {-1., 0., 1., 5., 10., 3.14e8};
27 std::vector<double> t_array = {-1., 0., 1., 5., 10., 3.14e8};
28 WithQuietOutput quiet_warn{output_warn};
29};
30
31Context LegacyContext(BoutReal x, BoutReal y, BoutReal z, BoutReal t) {
32 return Context().set("x", x, "y", y, "z", z, "t", t);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected