コード例 #1
0
  @Test
  public void createDeepCopyFromOriginalBitmap() {
    SimpleBitmap duplicateBitmap = (SimpleBitmap) bitmap.duplicate();

    assertTrue(bitmap.equals(duplicateBitmap));
  }
コード例 #2
0
  @Test
  public void twoEqualsImagesAreActuallyEqual() {
    SimpleBitmap equalImage = new SimpleBitmap(originalImageFilename);

    assertTrue(bitmap.equals(equalImage));
  }