(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func TestFormatAlphaNum(t *testing.T) { |
| 13 | value := int64(999) |
| 14 | n := 5 |
| 15 | s1 := strings.ToUpper(fmt.Sprintf("%0"+strconv.Itoa(n)+"s", strconv.FormatInt(value, 36))) |
| 16 | s2 := FormatInt36(value, n) |
| 17 | require.Equal(t, s1, s2) |
| 18 | } |
nothing calls this directly
no test coverage detected