Files
2026-05-20 16:13:58 +08:00

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)
}