mil.dod.th.ose.core/test/mil/dod/th/ose/core/types/factory/TestSpatialTypesFactory.java
@Test
    public void testNewOrientationOffset_AzimuthOnly()
    {
        OrientationOffset orientation = SpatialTypesFactory.newOrientationOffset(134.2);
        assertThat(orientation.getAzimuth().getValue(), closeTo(134.2, 0.00001));
        assertThat(orientation.getElevation(), is(nullValue()));
        assertThat(orientation.getBank(), is(nullValue()));
    }
/**
     * 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_AzimuthOnly()
    {
        OrientationOffset orientation = SpatialTypesFactory.newOrientationOffset(134.2);
        assertThat(orientation.getAzimuth().getValue(), closeTo(134.2, 0.00001));
        assertThat(orientation.getElevation(), is(nullValue()));
        assertThat(orientation.getBank(), is(nullValue()));
    }
@ Test public void testNewOrientationOffset_AzimuthOnly ( ) { OrientationOffset orientation = SpatialTypesFactory . newOrientationOffset ( 134.2 ) ; assertThat ( orientation . getAzimuth ( ) . getValue ( ) , closeTo ( 134.2 , 0.00001 ) ) ; assertThat ( orientation . getElevation ( ) , is ( nullValue ( ) ) ) ; assertThat ( orientation . getBank ( ) , is ( nullValue ( ) ) ) ; }
Verify orientation offset is created with correct values.
Verify orientation offset is created with correct values .