Documentation ¶ Index ¶ type Matcher func (m *Matcher) Match(expected, actual image.Image) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Matcher ¶ type Matcher struct { exact.Matcher } Matcher is an image matching algorithm. It considers the two images to be equal if they are identical, or if the expected image is nil, meaning that there is no existing positive image in the grouping (hence the positive_if_only_image name). func (*Matcher) Match ¶ func (m *Matcher) Match(expected, actual image.Image) bool Match implements the imgmatching.Matcher interface. Source Files ¶ View all Source files positive_if_only_image.go Click to show internal directories. Click to hide internal directories.