hybridgroup.gobot/platforms/i2c/wiichuck_driver_test.go

17 lines
307 B
Go
Raw Normal View History

2014-04-28 09:54:41 +08:00
package i2c
import (
2014-06-14 03:48:00 +08:00
"github.com/hybridgroup/gobot"
"testing"
2014-04-28 09:54:41 +08:00
)
2014-06-14 07:01:39 +08:00
func initTestWiichuckDriver() *WiichuckDriver {
return NewWiichuckDriver(newI2cTestAdaptor("adaptor"), "bot")
2014-06-14 03:48:00 +08:00
}
2014-04-28 09:54:41 +08:00
2014-06-14 07:01:39 +08:00
func TestWiichuckDriverStart(t *testing.T) {
2014-06-14 03:48:00 +08:00
t.SkipNow()
2014-06-14 07:01:39 +08:00
d := initTestWiichuckDriver()
gobot.Expect(t, d.Start(), true)
2014-06-14 03:48:00 +08:00
}