You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.2 KiB
Go

package client
// func TestSensorString(t *testing.T) {
// a := assert.New(t)
// a.Equal("Clock", Clock.String())
// a.Equal("Control", Control.String())
// a.Equal("Data", Data.String())
// a.Equal("Factor", Factor.String())
// a.Equal("Fan", Fan.String())
// a.Equal("Flow", Flow.String())
// a.Equal("Level", Level.String())
// a.Equal("Load", Load.String())
// a.Equal("Power", Power.String())
// a.Equal("SmallData", SmallData.String())
// a.Equal("Temperature", Temperature.String())
// a.Equal("Voltage", Voltage.String())
// a.Equal("Unknown", Sensor(123456).String())
// }
// func TestHardwareTypeString(t *testing.T) {
// a := assert.New(t)
// a.Equal("Unknown", UnknownHardware.String())
// a.Equal("Mainboard", Mainboard.String())
// a.Equal("SuperIO", SuperIO.String())
// a.Equal("CPU", CPU.String())
// a.Equal("RAM", RAM.String())
// a.Equal("GpuNvidia", GpuNvidia.String())
// a.Equal("GpuAti", GpuAti.String())
// a.Equal("TBalancer", TBalancer.String())
// a.Equal("Heatmaster", Heatmaster.String())
// a.Equal("HDD", HDD.String())
// a.Equal("Controller", Controller.String())
// a.Equal("Computer", Computer.String())
// a.Equal("Unknown", HardwareType(12345).String())
// }