Skip to content

Commit

Permalink
Fixed unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
romankh3 committed Sep 25, 2018
1 parent 4a454c3 commit d6a0e9d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -22,8 +22,8 @@ public class ImageComparisonToolsUnitTest {
public void testFrameMethod() throws IOException, URISyntaxException {
BufferedImage image = readImageFromResources( "result1.png" );
Frame resultFrame = createGUI( image );
assertEquals( image.getHeight(), resultFrame.getHeight() );
assertEquals( image.getWidth(), resultFrame.getWidth() );
assertEquals( ( int ) ( image.getHeight() * 1.1 ), resultFrame.getHeight() );
assertEquals( ( int ) ( image.getWidth() * 1.1 ), resultFrame.getWidth() );
}

@Test( expected = IllegalArgumentException.class )
Expand Down

0 comments on commit d6a0e9d

Please sign in to comment.