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

Function TEST_F

tests/unit/mesh/data/test_gridfromoptions.cxx:102–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100static constexpr BoutReal this_tolerance{1e-13};
101
102TEST_F(GridFromOptionsTest, HasVar) {
103 EXPECT_TRUE(griddata->hasVar("f"));
104 EXPECT_FALSE(griddata->hasVar("non-existent"));
105}
106
107TEST_F(GridFromOptionsTest, GetString) {
108 std::string result{"wrong"};

Callers

nothing calls this directly

Calls 6

IsFieldEqualFunction · 0.85
getCoordinatesMethod · 0.80
communicateMethod · 0.80
hasVarMethod · 0.45
getMethod · 0.45
getLocationMethod · 0.45

Tested by

no test coverage detected