1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-06 19:29:15 +08:00
hybridgroup.gobot/platforms/joystick/joystick_driver_test.go

28 lines
421 B
Go
Raw Normal View History

2014-04-27 18:02:39 -07:00
package joystick
import (
2014-06-13 12:54:21 -07:00
"github.com/hybridgroup/gobot"
"testing"
)
2014-06-13 12:54:21 -07:00
var d *JoystickDriver
2014-06-13 12:54:21 -07:00
func init() {
d = NewJoystickDriver(NewJoystickAdaptor("bot"), "bot", "/dev/null")
}
2014-06-13 12:54:21 -07:00
func TestStart(t *testing.T) {
t.SkipNow()
gobot.Expect(t, d.Start(), true)
}
func TestHalt(t *testing.T) {
t.SkipNow()
gobot.Expect(t, d.Halt(), true)
}
func TestInit(t *testing.T) {
t.SkipNow()
gobot.Expect(t, d.Init(), true)
}