Documentation ¶
Index ¶
- func CommonBenchmarkResize(proc imageprocessorcommon.ImageProcessor, b *testing.B, ...)
- func CommonBenchmarkResize_largePictures(proc imageprocessorcommon.ImageProcessor, b *testing.B)
- func CommonBenchmarkResize_mediumPictures(proc imageprocessorcommon.ImageProcessor, b *testing.B)
- func CommonBenchmarkResize_smallPictures(proc imageprocessorcommon.ImageProcessor, b *testing.B)
- func CommonTestResize(proc imageprocessorcommon.ImageProcessor, t *testing.T)
- type Item
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommonBenchmarkResize ¶
func CommonBenchmarkResize( proc imageprocessorcommon.ImageProcessor, b *testing.B, widthMin, widthMax, heightMin, heightMax uint, )
CommonBenchmarkResize is a function to run a benchmark for method `Resize` of an abstract ImageProcessor implementation.
func CommonBenchmarkResize_largePictures ¶
func CommonBenchmarkResize_largePictures(proc imageprocessorcommon.ImageProcessor, b *testing.B)
CommonBenchmarkResize_largePictures is a function to run a benchmark for method `Resize` of an abstract ImageProcessor implementation on large images.
func CommonBenchmarkResize_mediumPictures ¶
func CommonBenchmarkResize_mediumPictures(proc imageprocessorcommon.ImageProcessor, b *testing.B)
CommonBenchmarkResize_mediumPictures is a function to run a benchmark for method `Resize` of an abstract ImageProcessor implementation on medium images.
func CommonBenchmarkResize_smallPictures ¶
func CommonBenchmarkResize_smallPictures(proc imageprocessorcommon.ImageProcessor, b *testing.B)
CommonBenchmarkResize_smallPictures is a function to run a benchmark for method `Resize` of an abstract ImageProcessor implementation on small images.
func CommonTestResize ¶
func CommonTestResize(proc imageprocessorcommon.ImageProcessor, t *testing.T)
CommonTestResize verifies if the method `Resize` of an ImageProcessor works correcty.