| 14 | static int TestGetNumNodesAndCells(); |
| 15 | |
| 16 | int TestStructuredData(int, char*[]) |
| 17 | { |
| 18 | if (Test1DCases() != EXIT_SUCCESS) |
| 19 | { |
| 20 | std::cerr << "1-D Test cases failed!\n"; |
| 21 | return EXIT_FAILURE; |
| 22 | } |
| 23 | |
| 24 | if (Test2DCases() != EXIT_SUCCESS) |
| 25 | { |
| 26 | std::cerr << "2-D Test cases failed!\n"; |
| 27 | return EXIT_FAILURE; |
| 28 | } |
| 29 | |
| 30 | int cellIdsResult = TestCellIds(); |
| 31 | int pointIdsResult = TestPointIds(); |
| 32 | |
| 33 | if (cellIdsResult != EXIT_SUCCESS || pointIdsResult != EXIT_SUCCESS) |
| 34 | { |
| 35 | return EXIT_FAILURE; |
| 36 | } |
| 37 | |
| 38 | if (TestGetNumNodesAndCells() != EXIT_SUCCESS) |
| 39 | { |
| 40 | std::cerr << "TestGetNumNodesAndCells() failed!\n"; |
| 41 | return EXIT_FAILURE; |
| 42 | } |
| 43 | return EXIT_SUCCESS; |
| 44 | } |
| 45 | |
| 46 | //------------------------------------------------------------------------------ |
| 47 | int TestGetNumNodesAndCells() |
nothing calls this directly
no test coverage detected