| 54 | } |
| 55 | |
| 56 | bool testGetAxisVectorExtent(mitk::Geometry3D *geometry) |
| 57 | { |
| 58 | int direction; |
| 59 | for (direction = 0; direction < 3; ++direction) |
| 60 | { |
| 61 | if (mitk::Equal(geometry->GetAxisVector(direction).GetNorm(), geometry->GetExtentInMM(direction)) == false) |
| 62 | { |
| 63 | std::cout << "[FAILED]" << std::endl; |
| 64 | return false; |
| 65 | } |
| 66 | std::cout << "[PASSED]" << std::endl; |
| 67 | } |
| 68 | return true; |
| 69 | } |
| 70 | |
| 71 | // a part of the test requires axis-parallel coordinates |
| 72 | int testIndexAndWorldConsistency(mitk::Geometry3D *geometry3d) |
no test coverage detected