dkorunic / iSMC

Apple SMC CLI tool that can decode and display temperature, fans, battery, power, voltage and current information
GNU General Public License v3.0
113 stars 13 forks source link

Add tests for output #11

Closed roele closed 2 years ago

roele commented 2 years ago

Adding some tests for the output package. Some tests are still missing for output.go which would require more monkey patching since neither smc nor hid use any interfaces that could be easily mocked.