v4/utils/emojis_test.go
2025-04-05 23:38:02 -07:00

15 lines
329 B
Go

package utils_test
import (
"testing"
"git.sapphic.engineer/roleypoly/v4/utils"
"github.com/stretchr/testify/assert"
)
func TestRandomEmoji(t *testing.T) {
for i := len(utils.AllEmojis) * 1000; i >= 0; i-- {
e := utils.GetRandomEmoji()
assert.Containsf(t, e.Name, "roleypolynext", "not valid on iteration %d", i)
}
}