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:
parent
43a4b90e01
commit
005c07aace
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user