public class ShouldBeEqualImages extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeEqualImages(Offset<Integer> offset)
Creates a new
. |
create, equals, hashCode, toString
public static ErrorMessageFactory shouldBeEqualImages(Offset<Integer> offset)
ShouldBeEqualImages
.offset
- helps decide if the color of two pixels are similar: two pixels that are identical to the human eye may still
have slightly different color values. For example, by using an offset of 1 we can indicate that a blue value of 60
is similar to a blue value of 61.ErrorMessageFactory
.Copyright © 2007–2015. All rights reserved.