23 lines
425 B
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)
|
|
}
|