1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-04 22:17:39 +08:00
hybridgroup.gobot/platforms/i2c/hmc6352_driver_test.go

22 lines
304 B
Go
Raw Normal View History

2014-04-27 18:54:41 -07:00
package i2c
import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("HMC6352", func() {
var (
2014-04-27 18:54:41 -07:00
t TestAdaptor
h *HMC6352Driver
)
BeforeEach(func() {
2014-05-22 21:33:05 -07:00
h = NewHMC6352Driver(t, "bot")
})
It("Must be able to Start", func() {
2014-04-27 18:54:41 -07:00
Expect(h.Start()).To(Equal(true))
})
})