Documentation ¶
Index ¶
Constants ¶
View Source
const Delta = 0.0000001
Variables ¶
This section is empty.
Functions ¶
func CompareOutputImages ¶
CompareOutputImages is a utility method used by the graphics modules to compare output of tests with expected output.
func FilesAreEqual ¶
FileAreEqual returns true if the two given files are the same. It does this by calculating the md5 checksum of each file and comparing. If either of the files does not exist, this returns false, and an error.
func FloatsAreEqual ¶
FloatsAreEqual returns true if the two given float64 values are within Delta from each other.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.