1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-27 13:48:56 +08:00
hybridgroup.gobot/i2c/blinkm_test.go

38 lines
598 B
Go
Raw Normal View History

package gobotI2C
import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("BlinkM", func() {
var (
someAdaptor TestAdaptor
someDriver *BlinkM
)
BeforeEach(func() {
someDriver = NewBlinkM(someAdaptor)
})
It("Must be able to Start", func() {
Expect(someDriver.Start()).To(Equal(true))
})
PIt("Should be able to set Rgb", func() {
Expect(true)
})
PIt("Should be able to Fade", func() {
Expect(true)
})
PIt("Should be able to get FirmwareVersion", func() {
Expect(true)
})
PIt("Should be able to set Color", func() {
Expect(true)
})
})