mil.dod.th.ose.core/test/mil/dod/th/ose/core/types/factory/TestSpatialTypesFactory.java
@Test
    public void testNewEllipse()
    {
        Ellipse ellipse = SpatialTypesFactory.newEllipse(1.0, 2.0, 3.0);
        assertThat(ellipse.getSemiMajorAxis().getValue(), closeTo(1.0, 0.00001));
        assertThat(ellipse.getSemiMinorAxis().getValue(), closeTo(2.0, 0.00001));
        assertThat(ellipse.getRotation().getValue(), closeTo(3.0, 0.00001));
    }
/**
     * Verify ellipse is created with correct values.
     */
Verify ellipse is created with correct values.
Verify ellipse is created with correct values .
@Test
    public void testNewEllipse()
    {
        Ellipse ellipse = SpatialTypesFactory.newEllipse(1.0, 2.0, 3.0);
        assertThat(ellipse.getSemiMajorAxis().getValue(), closeTo(1.0, 0.00001));
        assertThat(ellipse.getSemiMinorAxis().getValue(), closeTo(2.0, 0.00001));
        assertThat(ellipse.getRotation().getValue(), closeTo(3.0, 0.00001));
    }
@ Test public void testNewEllipse ( ) { Ellipse ellipse = SpatialTypesFactory . newEllipse ( 1.0 , 2.0 , 3.0 ) ; assertThat ( ellipse . getSemiMajorAxis ( ) . getValue ( ) , closeTo ( 1.0 , 0.00001 ) ) ; assertThat ( ellipse . getSemiMinorAxis ( ) . getValue ( ) , closeTo ( 2.0 , 0.00001 ) ) ; assertThat ( ellipse . getRotation ( ) . getValue ( ) , closeTo ( 3.0 , 0.00001 ) ) ; }
Verify ellipse is created with correct values.
Verify ellipse is created with correct values .