validators/cpf/lib_test.go

24 lines
313 B
Go
Raw Normal View History

2021-09-30 00:28:45 +00:00
package cpf
import (
"log"
"testing"
)
func TestFormat(t *testing.T) {
log.Printf(Format("03794020685"))
}
func TestCheck(t *testing.T) {
for _, v := range []string{
"377.100.400-47",
"377.100.400-46",
"845.846.910-37",
"845.846.910-17",
} {
ret := Check(v)
log.Printf("%s=>%v", v, ret)
}
}