package status

import (
	"encoding/json"
	"fmt"
	"testing"
)

func TestGetCPUStatus(t *testing.T) {
	cpuStatus, err := GetCPUStatus()
	if err != nil {
		return
	}

	marshalIndent, err := json.MarshalIndent(cpuStatus, "", "  ")
	if err != nil {
		fmt.Printf("error")
	}

	fmt.Println(string(marshalIndent))

}
