1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-27 13:48:56 +08:00
hybridgroup.gobot/platforms/opencv/window_driver_test.go
2014-05-22 20:53:15 -07:00

27 lines
440 B
Go

package opencv
import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("Window", func() {
var (
w *WindowDriver
)
BeforeEach(func() {
w = NewWindowDriver("bot")
})
PIt("Must be able to Start", func() {
Expect(w.Start()).To(Equal(true))
})
PIt("Must be able to Init", func() {
Expect(w.Init()).To(Equal(true))
})
PIt("Must be able to Halt", func() {
Expect(w.Halt()).To(Equal(true))
})
})