add files
This commit is contained in:
16
server/gpu_test.go
Normal file
16
server/gpu_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGpuOutput(t *testing.T) {
|
||||
gpu, err := GPUInfo()
|
||||
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
fmt.Print(gpu.Gpu.GpuName)
|
||||
}
|
||||
Reference in New Issue
Block a user