1
0
Fork 0
mirror of https://github.com/shouptech/tempgopher.git synced 2026-02-03 08:39:43 +00:00
tempgopher/thermostat_test.go
2018-09-30 09:00:51 -06:00

14 lines
228 B
Go

package main
import (
"testing"
"github.com/stretchr/testify/assert"
)
func Test_ReadTemperature(t *testing.T) {
data, err := ReadTemperature("28-000008083108")
assert.Equal(t, 0.0, data)
assert.NotEqual(t, nil, err)
}