abcex/abcex_test.go

15 lines
217 B
Go
Raw Permalink Normal View History

2021-05-11 20:21:06 +00:00
package abcex
import "fmt"
import "testing"
func TestEncode(t *testing.T) {
fmt.Println(Encode(12345))
// Output: 9ix
}
func TestDecode(t *testing.T) {
fmt.Println(Decode("9ix"))
// Output: 12345
}