Files
EdgeCommon/pkg/nodeconfigs/timezones_test.go

19 lines
406 B
Go
Raw Permalink Normal View History

2024-05-17 18:28:59 +08:00
// Copyright 2021 GoEdge CDN goedge.cdn@gmail.com. All rights reserved.
2021-10-12 11:45:28 +08:00
package nodeconfigs
import (
"testing"
"time"
2024-07-27 13:29:26 +08:00
"github.com/iwind/TeaGo/logs"
2021-10-12 11:45:28 +08:00
)
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)
}