add examples and test cases
This commit is contained in:
11
zplgfa_test.go
Normal file
11
zplgfa_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package zplgfa
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func Test_CompressASCII(t *testing.T) {
|
||||
if str := CompressASCII("FFFFFFFF000000"); str != "NFL0" {
|
||||
t.Fatalf("CompressASCII failed")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user