src/nl/knokko/gui/testing/GuiTestHelper.java
/**
	 * Invokes compareImages(image1, image2) and throws a TestException if it
	 * returned false.
	 * 
	 * @param image1 An image that should be compared to image2
	 * @param image2 The image to compare with image1
	 */
Invokes compareImages(image1, image2) and throws a TestException if it
returned false.

@param image1 An image that should be compared to image2
@param image2 The image to compare with image1
Invokes compareImages ( image1 image2 ) and throws a TestException if it returned false . @param image1 An image that should be compared to image2 @param image2 The image to compare with image1
public void assertEqual(BufferedImage image1, BufferedImage image2) {
		if (!compareImages(image1, image2)) {
			throw new TestException("The images aren't equal!");
		}
	}
public void assertEqual ( BufferedImage image1 , BufferedImage image2 ) { if ( ! compareImages ( image1 , image2 ) ) { throw new TestException ( "The images aren't equal!" ) ; } }
Invokes compareImages(image1, image2) and throws a TestException if it
 returned false.
Invokes compareImages ( image1 image2 ) and throws a TestException if it returned false .