mil.dod.th.ose.core/test/mil/dod/th/ose/core/types/factory/TestSpatialTypesFactory.java
@Test
    public void testNewOrientation()
    {
        Orientation orientation = SpatialTypesFactory.newOrientation(32.0, 11.5, 7.7);
        assertThat(orientation.getHeading().getValue(), closeTo(32.0, 0.00001));
        assertThat(orientation.getElevation().getValue(), closeTo(11.5, 0.00001));
        assertThat(orientation.getBank().getValue(), closeTo(7.7, 0.00001));
    }
/**
     * Verify orientation is created with correct values.
     */
Verify orientation is created with correct values.
Verify orientation is created with correct values .
@Test
    public void testNewOrientation()
    {
        Orientation orientation = SpatialTypesFactory.newOrientation(32.0, 11.5, 7.7);
        assertThat(orientation.getHeading().getValue(), closeTo(32.0, 0.00001));
        assertThat(orientation.getElevation().getValue(), closeTo(11.5, 0.00001));
        assertThat(orientation.getBank().getValue(), closeTo(7.7, 0.00001));
    }
@ Test public void testNewOrientation ( ) { Orientation orientation = SpatialTypesFactory . newOrientation ( 32.0 , 11.5 , 7.7 ) ; assertThat ( orientation . getHeading ( ) . getValue ( ) , closeTo ( 32.0 , 0.00001 ) ) ; assertThat ( orientation . getElevation ( ) . getValue ( ) , closeTo ( 11.5 , 0.00001 ) ) ; assertThat ( orientation . getBank ( ) . getValue ( ) , closeTo ( 7.7 , 0.00001 ) ) ; }
Verify orientation is created with correct values.
Verify orientation is created with correct values .