test

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareColor

func CompareColor(actual, expected color.Color) error

CompareColor will return an error if colors do not match by their RGBA()

transform.

func CompareImage

func CompareImage(actual image.Image, expected image.Image) error

CompareImage will return an error if there is any difference in the colors of corresponding pixels in actual and expected.

func ValidateBoundsMatch

func ValidateBoundsMatch(actualB image.Rectangle, expectedB image.Rectangle) error

ValidateBoundsMatch will return an error if the width or height of actualB and expectedB differ.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL