mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-05-02 22:17:12 +08:00
22 lines
304 B
Go
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))
|
|
})
|
|
})
|