1.4.5.2
This commit is contained in:
17
EdgeCommon/pkg/nodeconfigs/timezones_test.go
Normal file
17
EdgeCommon/pkg/nodeconfigs/timezones_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2021 Liuxiangchao iwind.liu@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)
|
||||
}
|
||||
Reference in New Issue
Block a user