photoprism/internal/thumb/names_test.go

14 lines
221 B
Go
Raw Normal View History

2021-10-25 13:20:30 +02:00
package thumb
import (
"testing"
"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())
})
}