(t *testing.T)
| 63 | } |
| 64 | |
| 65 | func TestBase62Value(t *testing.T) { |
| 66 | s := base62Characters |
| 67 | |
| 68 | for i := range s { |
| 69 | v := int(base62Value(s[i])) |
| 70 | |
| 71 | if v != i { |
| 72 | t.Error("bad value:") |
| 73 | t.Log("<<<", i) |
| 74 | t.Log(">>>", v) |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | func TestFastAppendEncodeBase62(t *testing.T) { |
| 80 | for i := 0; i != 1000; i++ { |
nothing calls this directly
no test coverage detected
searching dependent graphs…