21 lines
258 B
Go
21 lines
258 B
Go
|
package cnpj
|
||
|
|
||
|
import (
|
||
|
"log"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestFormat(t *testing.T) {
|
||
|
log.Printf(Format("03794020685"))
|
||
|
}
|
||
|
|
||
|
func TestCheck(t *testing.T) {
|
||
|
for _, v := range []string{
|
||
|
"60.119.200/0001-90",
|
||
|
} {
|
||
|
ret := Check(v)
|
||
|
log.Printf("%s=>%v", v, ret)
|
||
|
}
|
||
|
|
||
|
}
|