fixed testing errors

This commit is contained in:
2025-01-07 01:24:14 +00:00
parent 0c7dadd2a0
commit 07dd26e11f
4 changed files with 353 additions and 353 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)
// }