Initial commit (code only without large binaries)
This commit is contained in:
14
EdgeAPI/internal/utils/system_test.go
Normal file
14
EdgeAPI/internal/utils/system_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
package utils_test
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeAPI/internal/utils"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestSystemMemoryGB(t *testing.T) {
|
||||
t.Log(utils.SystemMemoryGB())
|
||||
t.Log(utils.SystemMemoryGB())
|
||||
t.Log(utils.SystemMemoryGB())
|
||||
}
|
||||
Reference in New Issue
Block a user