mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 04:10:25 +08:00
18 lines
405 B
Go
18 lines
405 B
Go
// Copyright 2021 GoEdge CDN goedge.cdn@gmail.com. All rights reserved.
|
|
|
|
package nodeconfigs
|
|
|
|
import (
|
|
"github.com/iwind/TeaGo/logs"
|
|
"testing"
|
|
"time"
|
|
)
|
|
|
|
func TestFindAllTimeZoneLocations(t *testing.T) {
|
|
var before = time.Now()
|
|
var locations = FindAllTimeZoneLocations()
|
|
t.Log(len(locations), "locations")
|
|
t.Logf("%.2f %s", time.Since(before).Seconds()*1000, "ms")
|
|
logs.PrintAsJSON(locations, t)
|
|
}
|