1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-29 13:49:14 +08:00
hybridgroup.gobot/platforms/i2c/hmc6352_driver_test.go

17 lines
302 B
Go
Raw Normal View History

2014-04-27 18:54:41 -07:00
package i2c
import (
2014-06-13 12:48:00 -07:00
"github.com/hybridgroup/gobot"
"testing"
)
2014-06-13 16:01:39 -07:00
func initTestHMC6352Driver() *HMC6352Driver {
return NewHMC6352Driver(newI2cTestAdaptor("adaptor"), "bot")
2014-06-13 12:48:00 -07:00
}
2014-06-13 16:01:39 -07:00
func TestHMC6352DriverStart(t *testing.T) {
2014-06-13 12:48:00 -07:00
t.SkipNow()
2014-06-13 16:01:39 -07:00
d := initTestHMC6352Driver()
gobot.Assert(t, d.Start(), true)
2014-06-13 12:48:00 -07:00
}