mchess-server/utils/passphrase_test.go

17 lines
240 B
Go

package utils
import (
"fmt"
"testing"
"github.com/stretchr/testify/assert"
)
func Test_Passphrase(t *testing.T) {
for run := range 100 {
phrase := NewPassphrase()
fmt.Println(run, ": ", phrase)
assert.NotEmpty(t, phrase)
}
}