| 47 | } |
| 48 | |
| 49 | static 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 | |
| 59 | int main(int argc, const char* argv[]) |
| 60 | { |
no test coverage detected