mil.dod.th.ose.core/test/mil/dod/th/ose/core/types/factory/TestSpatialTypesFactory.java
@Test
    public void testNewOrientationOffset()
    {
        OrientationOffset orientation = SpatialTypesFactory.newOrientationOffset(9.8, 7.6, 5.4);
        assertThat(orientation.getAzimuth().getValue(), closeTo(9.8, 0.00001));
        assertThat(orientation.getElevation().getValue(), closeTo(7.6, 0.00001));
        assertThat(orientation.getBank().getValue(), closeTo(5.4, 0.00001));
    }
/**
     * Verify orientation offset is created with correct values.
     */
Verify orientation offset is created with correct values.
Verify orientation offset is created with correct values .
@Test
    public void testNewOrientationOffset()
    {
        OrientationOffset orientation = SpatialTypesFactory.newOrientationOffset(9.8, 7.6, 5.4);
        assertThat(orientation.getAzimuth().getValue(), closeTo(9.8, 0.00001));
        assertThat(orientation.getElevation().getValue(), closeTo(7.6, 0.00001));
        assertThat(orientation.getBank().getValue(), closeTo(5.4, 0.00001));
    }
@ Test public void testNewOrientationOffset ( ) { OrientationOffset orientation = SpatialTypesFactory . newOrientationOffset ( 9.8 , 7.6 , 5.4 ) ; assertThat ( orientation . getAzimuth ( ) . getValue ( ) , closeTo ( 9.8 , 0.00001 ) ) ; assertThat ( orientation . getElevation ( ) . getValue ( ) , closeTo ( 7.6 , 0.00001 ) ) ; assertThat ( orientation . getBank ( ) . getValue ( ) , closeTo ( 5.4 , 0.00001 ) ) ; }
Verify orientation offset is created with correct values.
Verify orientation offset is created with correct values .