29 lines
510 B
Go
29 lines
510 B
Go
package opencv
|
|
|
|
import (
|
|
"github.com/hybridgroup/gobot"
|
|
"testing"
|
|
)
|
|
|
|
func initTestWindowDriver() *WindowDriver {
|
|
return NewWindowDriver("bot")
|
|
}
|
|
|
|
func TestWindowDriverStart(t *testing.T) {
|
|
t.SkipNow()
|
|
d := initTestWindowDriver()
|
|
gobot.Expect(t, d.Start(), true)
|
|
}
|
|
|
|
func TestWindowDriverHalt(t *testing.T) {
|
|
t.SkipNow()
|
|
d := initTestWindowDriver()
|
|
gobot.Expect(t, d.Halt(), true)
|
|
}
|
|
|
|
func TestWindowDriverInit(t *testing.T) {
|
|
t.SkipNow()
|
|
d := initTestWindowDriver()
|
|
gobot.Expect(t, d.Init(), true)
|
|
}
|