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

38 lines
564 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("BlinkM", func() {
var (
2014-04-27 18:54:41 -07:00
t TestAdaptor
b *BlinkMDriver
)
BeforeEach(func() {
2014-05-22 21:33:05 -07:00
b = NewBlinkMDriver(t, "bot")
})
It("Must be able to Start", func() {
2014-04-27 18:54:41 -07:00
Expect(b.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)
})
})