| 65 | } |
| 66 | |
| 67 | void Line_TestPoints() |
| 68 | { |
| 69 | mitk::Point3D point1, point2; |
| 70 | mitk::FillVector3D(point1, 0, 1, 0); |
| 71 | mitk::FillVector3D(point2, 0, 2.5, 0); |
| 72 | m_Line.SetPoint1(point1); |
| 73 | m_Line.SetPoint2(point2); |
| 74 | CPPUNIT_ASSERT_MESSAGE("Test if point 1 was set correctly.", mitk::Equal(m_Line.GetPoint1(), point1)); |
| 75 | CPPUNIT_ASSERT_MESSAGE("Test if point 2 was set correctly.", mitk::Equal(m_Line.GetPoint2(), point2)); |
| 76 | } |
| 77 | |
| 78 | void Line_TestParallel() |
| 79 | { |
nothing calls this directly
no test coverage detected