MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / test_failed_parsing

Function test_failed_parsing

tests/locations.cc:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49static void test_failed_parsing()
50{
51 AssertThrows(ErrorException, parseCylinderHeadsString("zzz"));
52 AssertThrows(ErrorException, parseCylinderHeadsString("c0h0 q"));
53 AssertThrows(ErrorException, parseCylinderHeadsString("c-1h0"));
54 AssertThrows(ErrorException, parseCylinderHeadsString("c1-10x0h0"));
55 AssertThrows(ErrorException, parseCylinderHeadsString("c10-1x1h0"));
56 AssertThrows(ErrorException, parseCylinderHeadsString("c10-1x-1h0"));
57}
58
59int main(int argc, const char* argv[])
60{

Callers 1

mainFunction · 0.85

Calls 1

parseCylinderHeadsStringFunction · 0.85

Tested by

no test coverage detected