mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/observation/TestViewObsMgrImpl.java
@Test
    public void testLowResObsDisplay()
    {
        Observation obs = buildTestObsLowRes();
        m_SUT.setObservation(obs);
        
        //Verify that the image is not scaled since it's height and width are less than the max allowed.
        assertThat(m_SUT.getHeight(), is(100));
        assertThat(m_SUT.getWidth(), is(200));
    }
/**
     * Test that an observation with an image that has a resolution less than the max is allowed to be displayed.
     * Should not be scaled.
     */
Test that an observation with an image that has a resolution less than the max is allowed to be displayed.
Should not be scaled.
Test that an observation with an image that has a resolution less than the max is allowed to be displayed . Should not be scaled .
@Test
    public void testLowResObsDisplay()
    {
        Observation obs = buildTestObsLowRes();
        m_SUT.setObservation(obs);
        assertThat(m_SUT.getHeight(), is(100));
        assertThat(m_SUT.getWidth(), is(200));
    }
@ Test public void testLowResObsDisplay ( ) { Observation obs = buildTestObsLowRes ( ) ; m_SUT . setObservation ( obs ) ; assertThat ( m_SUT . getHeight ( ) , is ( 100 ) ) ; assertThat ( m_SUT . getWidth ( ) , is ( 200 ) ) ; }
Test that an observation with an image that has a resolution less than the max is allowed to be displayed.
Test that an observation with an image that has a resolution less than the max is allowed to be displayed .
//Verify that the image is not scaled since it's height and width are less than the max allowed.