public class ImageAssert extends Object
Constructor and Description |
---|
ImageAssert() |
Modifier and Type | Method and Description |
---|---|
static boolean |
sameImages(BufferedImage a,
BufferedImage b)
Determines whether the images are identical by checking every pixel.
|
static boolean |
sameImages(String a,
String b)
Determines whether the images specified by the file paths are identical.
|
public static boolean sameImages(String a, String b)
a
- file path of one imageb
- file path of another imagepublic static boolean sameImages(BufferedImage a, BufferedImage b)
a
- one imageb
- another imageCopyright © 2015. All rights reserved.