You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
231 B

  1. package test
  2. import (
  3. "testing"
  4. "github.com/stretchr/testify/assert"
  5. )
  6. func TestGenAuths(t *testing.T) {
  7. const nAuths = 5
  8. auths := GenAuths(nAuths)
  9. for _, auth := range auths {
  10. assert.True(t, auth.VerifySignature())
  11. }
  12. }