mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-04-26 13:48:49 +08:00
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.Assert(t, a.Connect(), true)
|
|
}
|
|
|
|
func TestJoystickAdaptorFinalize(t *testing.T) {
|
|
t.SkipNow()
|
|
a := initTestJoystickAdaptor()
|
|
gobot.Assert(t, a.Finalize(), true)
|
|
}
|