hybridgroup.gobot/platforms/joystick/joystick_adaptor_test.go

23 lines
425 B
Go

package joystick
import (
"github.com/hybridgroup/gobot"
"testing"
)
func initTestJoystickAdaptor() *JoystickAdaptor {
return NewJoystickAdaptor("bot")
}
func TestJoystickAdaptorConnect(t *testing.T) {
t.SkipNow()
a := initTestJoystickAdaptor()
gobot.Expect(t, a.Connect(), true)
}
func TestJoystickAdaptorFinalize(t *testing.T) {
t.SkipNow()
a := initTestJoystickAdaptor()
gobot.Expect(t, a.Finalize(), true)
}