2021-11-17 17:28:26 +01:00
|
|
|
package crop
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
2021-11-18 00:46:34 +01:00
|
|
|
|
|
|
|
"github.com/stretchr/testify/assert"
|
2021-11-17 17:28:26 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestName_Jpeg(t *testing.T) {
|
|
|
|
t.Run("Tile320", func(t *testing.T) {
|
|
|
|
assert.Equal(t, "tile_320.jpg", Tile320.Jpeg())
|
|
|
|
})
|
|
|
|
t.Run("Tile50", func(t *testing.T) {
|
|
|
|
assert.Equal(t, "tile_50.jpg", Tile50.Jpeg())
|
|
|
|
})
|
|
|
|
}
|