16 lines
296 B
Go
16 lines
296 B
Go
package crop
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
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())
|
|
})
|
|
}
|