mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
17 lines
280 B
Go
17 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"])
|
|
})
|
|
}
|