Files
ProjectOctopus/agent-go/status/Disk_test.go

15 lines
219 B
Go

package status
import (
"fmt"
"testing"
)
func TestGetDiskStatus(t *testing.T) {
ds := GetDiskStatus()
fmt.Printf("Total: %v, Used: %v\n", ds.Total, ds.Used)
fmt.Printf("Logical Disks: %v\n", ds.LogicalDisk)
}