Documentation ¶
Overview ¶
Package _test provides utilities for imageserver/image.Encoder testing.
Index ¶
- func BenchmarkEncoder(b *testing.B, enc imageserver_image.Encoder, im *imageserver.Image, ...)
- func NewImage() image.Image
- func TestEncoder(t *testing.T, enc imageserver_image.Encoder, expectedFormat string)
- func TestEncoderParams(t *testing.T, enc imageserver_image.Encoder, params imageserver.Params, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BenchmarkEncoder ¶
func BenchmarkEncoder(b *testing.B, enc imageserver_image.Encoder, im *imageserver.Image, params imageserver.Params)
BenchmarkEncoder is a helper to benchmark imageserver/image.Encoder.
func TestEncoder ¶
func TestEncoder(t *testing.T, enc imageserver_image.Encoder, expectedFormat string)
TestEncoder is a helper to test imageserver/image.Encoder.
func TestEncoderParams ¶
func TestEncoderParams(t *testing.T, enc imageserver_image.Encoder, params imageserver.Params, expectedFormat string)
TestEncoderParams is a helper to test imageserver/image.Encoder with Params.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.