| 104 | }; |
| 105 | |
| 106 | TEST_F(ExpressionParserTest, Parse2) { |
| 107 | auto fieldgen = parser.parseString("2"); |
| 108 | EXPECT_EQ(fieldgen->str(), "2"); |
| 109 | |
| 110 | for (auto x : x_array) { |
| 111 | for (auto y : y_array) { |
| 112 | for (auto z : z_array) { |
| 113 | for (auto t : t_array) { |
| 114 | auto ctx = LegacyContext(x, y, z, t); |
| 115 | EXPECT_DOUBLE_EQ(fieldgen->generate(ctx), 2); |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | TEST_F(ExpressionParserTest, ParseX) { |
| 123 | auto fieldgen = parser.parseString("x"); |
nothing calls this directly
no test coverage detected