mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-04-27 13:48:56 +08:00
23 lines
448 B
Go
23 lines
448 B
Go
package leap
|
|
|
|
import (
|
|
"github.com/hybridgroup/gobot"
|
|
"testing"
|
|
)
|
|
|
|
func initTestLeapMotionAdaptor() *LeapMotionAdaptor {
|
|
return NewLeapMotionAdaptor("bot", "/dev/null")
|
|
}
|
|
|
|
func TestLeapMotionAdaptorConnect(t *testing.T) {
|
|
t.SkipNow()
|
|
a := initTestLeapMotionAdaptor()
|
|
gobot.Assert(t, a.Connect(), true)
|
|
}
|
|
|
|
func TestLeapMotionAdaptorFinalize(t *testing.T) {
|
|
t.SkipNow()
|
|
a := initTestLeapMotionAdaptor()
|
|
gobot.Assert(t, a.Finalize(), true)
|
|
}
|