1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00

Increase firmata test coverage

This commit is contained in:
Adrian Zankich 2014-11-19 18:48:52 -08:00
parent 43a4b90e01
commit 005c07aace

View File

@ -43,6 +43,9 @@ func TestFirmataAdaptorFinalize(t *testing.T) {
func TestFirmataAdaptorConnect(t *testing.T) {
a := initTestFirmataAdaptor()
gobot.Assert(t, a.Connect(), nil)
a = NewFirmataAdaptor("board", gobot.NullReadWriteCloser{})
gobot.Assert(t, a.connect(a), nil)
}
func TestFirmataAdaptorInitServo(t *testing.T) {