(t *testing.T)
| 70 | } |
| 71 | |
| 72 | func TestEncodeFileNameBase32(t *testing.T) { |
| 73 | testEncodeFileName(t, "base32", []EncodingTestCase{ |
| 74 | {"", ""}, |
| 75 | {"1", "64"}, |
| 76 | {"12", "64p0"}, |
| 77 | {"123", "64p36"}, |
| 78 | {"1234", "64p36d0"}, |
| 79 | {"12345", "64p36d1l"}, |
| 80 | {"123456", "64p36d1l6o"}, |
| 81 | {"1234567", "64p36d1l6org"}, |
| 82 | {"12345678", "64p36d1l6orjg"}, |
| 83 | {"123456789", "64p36d1l6orjge8"}, |
| 84 | {"1234567890", "64p36d1l6orjge9g"}, |
| 85 | {"12345678901", "64p36d1l6orjge9g64"}, |
| 86 | {"123456789012", "64p36d1l6orjge9g64p0"}, |
| 87 | {"1234567890123", "64p36d1l6orjge9g64p36"}, |
| 88 | {"12345678901234", "64p36d1l6orjge9g64p36d0"}, |
| 89 | {"123456789012345", "64p36d1l6orjge9g64p36d1l"}, |
| 90 | {"1234567890123456", "64p36d1l6orjge9g64p36d1l6o"}, |
| 91 | }, true) |
| 92 | } |
| 93 | |
| 94 | func TestEncodeFileNameBase64(t *testing.T) { |
| 95 | testEncodeFileName(t, "base64", []EncodingTestCase{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…