(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestPasswordSuccess(t *testing.T) { |
| 10 | password := CreatePassword("secret", 5) |
| 11 | assert.Equal(t, true, ComparePassword(password, []byte("secret"))) |
| 12 | } |
| 13 | |
| 14 | func TestPasswordFailure(t *testing.T) { |
| 15 | password := CreatePassword("secret", 5) |
nothing calls this directly
no test coverage detected
searching dependent graphs…