diff --git a/internal/imageprocessor/fit_cover_internal_test.go b/internal/imageprocessor/fit_cover_internal_test.go index 9aaa3e8..38e8db6 100644 --- a/internal/imageprocessor/fit_cover_internal_test.go +++ b/internal/imageprocessor/fit_cover_internal_test.go @@ -9,10 +9,10 @@ import ( ) // TestImageProcessor_FitCoverServesThinSource verifies that FitCover serves -// a thin source at the requested size. A source of 8192x64 or 8192x1 scaled -// to cover 8192x8192 is 128 or 8192 times as long as the output on its long -// side. The centre of an 8192x1 source with the proportions of 1x8192 is -// 1/8192 of a pixel wide. Each case is also turned on its side. +// a thin source at the requested size. An 8192x1 source scaled to cover +// 8192x8192 is 8192 times as long as the output on its long side. The centre +// of an 8192x1 source with the proportions of 1x8192 is 1/8192 of a pixel +// wide. Each case is also turned on its side. func TestImageProcessor_FitCoverServesThinSource(t *testing.T) { t.Parallel() @@ -21,10 +21,8 @@ func TestImageProcessor_FitCoverServesThinSource(t *testing.T) { inputWidth, inputHeight int size Size }{ - {"8192x64 at 8192x8192", 8192, 64, Size{Width: 8192, Height: 8192}}, {"8192x1 at 8192x8192", 8192, 1, Size{Width: 8192, Height: 8192}}, {"8192x1 at 1x8192", 8192, 1, Size{Width: 1, Height: 8192}}, - {"64x8192 at 8192x8192", 64, 8192, Size{Width: 8192, Height: 8192}}, {"1x8192 at 8192x8192", 1, 8192, Size{Width: 8192, Height: 8192}}, {"1x8192 at 8192x1", 1, 8192, Size{Width: 8192, Height: 1}}, }