photoprism/internal/thumb/names_test.go
2021-11-09 11:42:10 +01:00

14 lines
221 B
Go

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