Tests: Add unit test

This commit is contained in:
theresa 2021-10-25 13:20:30 +02:00
parent 808c8b01a9
commit 2f19cbcf6a

View file

@ -0,0 +1,12 @@
package thumb
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestName_Jpeg(t *testing.T) {
t.Run("ResamplePng, FillCenter", func(t *testing.T) {
assert.Equal(t, "tile_50.jpg", Tile50.Jpeg())
})
}