uncommenting testing code

This commit is contained in:
2025-01-07 20:19:47 +00:00
parent 07dd26e11f
commit ea8e7d4073
10 changed files with 645 additions and 644 deletions

View File

@@ -1,16 +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)
// }
import (
"fmt"
"testing"
)
func TestGpuOutput(t *testing.T) {
gpu, err := GPUInfo()
if err != nil {
t.Error(err)
}
fmt.Print(gpu.Gpu.GpuName)
}