2014-04-27 18:54:41 -07:00
|
|
|
package i2c
|
2014-04-26 03:11:51 -07:00
|
|
|
|
|
|
|
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
|
2014-04-26 03:11:51 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
BeforeEach(func() {
|
2014-05-22 21:33:05 -07:00
|
|
|
b = NewBlinkMDriver(t, "bot")
|
2014-04-26 03:11:51 -07:00
|
|
|
})
|
|
|
|
|
|
|
|
It("Must be able to Start", func() {
|
2014-04-27 18:54:41 -07:00
|
|
|
Expect(b.Start()).To(Equal(true))
|
2014-04-26 03:11:51 -07:00
|
|
|
})
|
|
|
|
|
|
|
|
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)
|
|
|
|
})
|
|
|
|
})
|