mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
16 lines
280 B
Go
16 lines
280 B
Go
package txt
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestTitlesAndRanks(t *testing.T) {
|
|
t.Run("King", func(t *testing.T) {
|
|
assert.True(t, TitlesAndRanks["king"])
|
|
})
|
|
t.Run("Fool", func(t *testing.T) {
|
|
assert.False(t, TitlesAndRanks["fool"])
|
|
})
|
|
}
|