mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-05-08 19:29:16 +08:00
16 lines
284 B
Go
16 lines
284 B
Go
package i2c
|
|
|
|
import (
|
|
"github.com/hybridgroup/gobot"
|
|
"testing"
|
|
)
|
|
|
|
func initTestBlinkMDriver() *BlinkMDriver {
|
|
return NewBlinkMDriver(newI2cTestAdaptor("adaptor"), "bot")
|
|
}
|
|
|
|
func TestBlinkMDriverStart(t *testing.T) {
|
|
d := initTestBlinkMDriver()
|
|
gobot.Assert(t, d.Start(), true)
|
|
}
|