MCPcopy Create free account
hub / github.com/Kitware/VTK / TestStructuredData

Function TestStructuredData

Common/DataModel/Testing/Cxx/TestStructuredData.cxx:16–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14static int TestGetNumNodesAndCells();
15
16int 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//------------------------------------------------------------------------------
47int TestGetNumNodesAndCells()

Callers

nothing calls this directly

Calls 5

Test1DCasesFunction · 0.85
Test2DCasesFunction · 0.85
TestCellIdsFunction · 0.85
TestPointIdsFunction · 0.85
TestGetNumNodesAndCellsFunction · 0.85

Tested by

no test coverage detected