2021-10-25 13:20:30 +02:00
|
|
|
package thumb
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
2021-11-09 11:42:10 +01:00
|
|
|
|
|
|
|
"github.com/stretchr/testify/assert"
|
2021-10-25 13:20:30 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestName_Jpeg(t *testing.T) {
|
|
|
|
t.Run("ResamplePng, FillCenter", func(t *testing.T) {
|
|
|
|
assert.Equal(t, "tile_50.jpg", Tile50.Jpeg())
|
|
|
|
})
|
|
|
|
}
|