1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-02 22:17:12 +08:00
hybridgroup.gobot/platforms/i2c/hmc6352_driver_test.go
2014-05-22 21:33:05 -07:00

22 lines
304 B
Go

package i2c
import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("HMC6352", func() {
var (
t TestAdaptor
h *HMC6352Driver
)
BeforeEach(func() {
h = NewHMC6352Driver(t, "bot")
})
It("Must be able to Start", func() {
Expect(h.Start()).To(Equal(true))
})
})