@@ -0,0 +1,1029 @@
+/*%0A *  This Source Code Form is subject to the terms of the Mozilla Public%0A *  * License, v. 2.0. If a copy of the MPL was not distributed with this%0A *  * file, You can obtain one at http://mozilla.org/MPL/2.0/.%0A */%0A%0Apackage com.pyrohail.dacado;%0A%0Aimport java.awt.image.BufferedImage;%0A%0A/**%0A * Small utility methods which don't yet have a home.%0A * @author Justin Harrison%0A * @since 0.1%0A */%0Aabstract class Utility %7B%0A%0A  /**%0A   * Prevent initialization.%0A   */%0A  private Utility() %7B%0A    throw new UnsupportedOperationException();%0A  %7D%0A%0A  %0A  protected static boolean compareImages(final BufferedImage firstImage, final BufferedImage secondImage) %7B%0A    if (firstImage.getHeight() != secondImage.getHeight() %7C%7C firstImage.getWidth() != secondImage.getWidth()) %7B%0A      return false;%0A    %7D%0A%0A    for (int x = 0; x %3C firstImage.getWidth(); ++x) %7B%0A      for (int y = 0; y %3C firstImage.getHeight(); ++y) %7B%0A        if (firstImage.getRGB(x, y) != secondImage.getRGB(x, y)) %7B%0A          return false;%0A        %7D%0A      %7D%0A    %7D%0A%0A    return true;%0A  %7D%0A%7D%0A

Add utility class