mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-04-27 13:48:56 +08:00
27 lines
440 B
Go
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))
|
|
})
|
|
})
|