Documentation ¶
Index ¶
- func CheckAllFunc(c TestCaseAll) func(images.Image) error
- func CheckDistortion(blob []byte, reffn string, tol float64, resfn string) (err error)
- func CheckFormatFunc(c FormatTestCase) func(images.Image) error
- func CheckImage(blob []byte, c TestCase, tol float64, f func(images.Image) error) (err error)
- func CheckSizeFunc(c SizeTestCase) func(images.Image) error
- func FormatTest(c FormatTestCase, blob []byte, tolerance float64) error
- func RemoveContents(dir string) error
- func SizeTest(c SizeTestCase, blob []byte, tolerance float64) error
- func TestAll(c TestCaseAll, blob []byte, tolerance float64) error
- type FormatTestCase
- type SizeTestCase
- type TestCase
- type TestCaseAll
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAllFunc ¶
func CheckAllFunc(c TestCaseAll) func(images.Image) error
func CheckDistortion ¶
func CheckFormatFunc ¶
func CheckFormatFunc(c FormatTestCase) func(images.Image) error
func CheckImage ¶
func CheckSizeFunc ¶
func CheckSizeFunc(c SizeTestCase) func(images.Image) error
func FormatTest ¶
func FormatTest(c FormatTestCase, blob []byte, tolerance float64) error
func RemoveContents ¶
Types ¶
type FormatTestCase ¶
type SizeTestCase ¶
type TestCaseAll ¶
Click to show internal directories.
Click to hide internal directories.