Class TestGeometryOfSlice

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.pixelmed.test.TestGeometryOfSlice
All Implemented Interfaces:
junit.framework.Test

public class TestGeometryOfSlice extends junit.framework.TestCase
  • Constructor Details

    • TestGeometryOfSlice

      public TestGeometryOfSlice(String name)
  • Method Details

    • suite

      public static junit.framework.Test suite()
    • setUp

      protected void setUp()
      Overrides:
      setUp in class junit.framework.TestCase
    • tearDown

      protected void tearDown()
      Overrides:
      tearDown in class junit.framework.TestCase
    • epsilonEquals

      protected boolean epsilonEquals(double value1, double value2, double epsilon)
    • epsilonEquals

      protected boolean epsilonEquals(double[] value1, double[] value2, double epsilon)
    • check3D2DConversion

      protected void check3D2DConversion(GeometryOfSlice geometry, double column, double row, double expectX, double expectY, double expectZ)
    • TestGeometryOfSlice_3D2DConversions1

      public void TestGeometryOfSlice_3D2DConversions1() throws Exception
      Throws:
      Exception
    • TestGeometryOfSlice_3D2DConversions2

      public void TestGeometryOfSlice_3D2DConversions2() throws Exception
      Throws:
      Exception
    • TestGeometryOfSlice_3D2DConversions3

      public void TestGeometryOfSlice_3D2DConversions3() throws Exception
      Throws:
      Exception
    • TestGeometryOfSlice_NormalDirection_Transverse_FromBelow_RowTowardsLeft_ColTowardsBack

      public void TestGeometryOfSlice_NormalDirection_Transverse_FromBelow_RowTowardsLeft_ColTowardsBack() throws Exception
      Throws:
      Exception
    • TestGeometryOfSlice_NormalDirection_Transverse_FromAbove_RowTowardsRight_ColTowardsBack_OriginalEMIScanner

      public void TestGeometryOfSlice_NormalDirection_Transverse_FromAbove_RowTowardsRight_ColTowardsBack_OriginalEMIScanner() throws Exception
      Throws:
      Exception
    • TestGeometryOfSlice_NormalDirection_Transverse_FromAbove_RowTowardsLeft_ColTowardsFront_Neurosurgery

      public void TestGeometryOfSlice_NormalDirection_Transverse_FromAbove_RowTowardsLeft_ColTowardsFront_Neurosurgery() throws Exception
      Throws:
      Exception
    • TestGeometryOfSlice_NormalDirection_Coronal_FromFront_RowTowardsLeft_ColTowardsFeet

      public void TestGeometryOfSlice_NormalDirection_Coronal_FromFront_RowTowardsLeft_ColTowardsFeet() throws Exception
      Throws:
      Exception
    • TestGeometryOfSlice_NormalDirection_Sagittal_FromLeftSide_RowTowardsBack_ColTowardsFeet

      public void TestGeometryOfSlice_NormalDirection_Sagittal_FromLeftSide_RowTowardsBack_ColTowardsFeet() throws Exception
      Throws:
      Exception
    • TestGeometryOfSlice_NormalDirection_Sagittal_FromRightSide_RowTowardsFront_ColTowardsFeet

      public void TestGeometryOfSlice_NormalDirection_Sagittal_FromRightSide_RowTowardsFront_ColTowardsFeet() throws Exception
      Throws:
      Exception