forked from all_user/stat_center
20 lines
580 B
Go
20 lines
580 B
Go
package v10
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestIsGlobalizationPhoneNumber(t *testing.T) {
|
|
chinaPhone := IsGlobalizationPhoneNumber("16512571225")
|
|
usPhone := IsGlobalizationPhoneNumber("001-626-202-3379")
|
|
cambodiaPhone := IsGlobalizationPhoneNumber("+855965197993")
|
|
hongKongPhome := IsGlobalizationPhoneNumber("+0085262307493")
|
|
philippinesPhome := IsGlobalizationPhoneNumber("+639666279486")
|
|
|
|
t.Log("chinaPhone", chinaPhone)
|
|
t.Log("usPhone", usPhone)
|
|
t.Log("cambodiaPhone", cambodiaPhone)
|
|
t.Log("hongKongPhome", hongKongPhome)
|
|
t.Log("philippinesPhome", philippinesPhome)
|
|
}
|