1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-02 22:17:12 +08:00
hybridgroup.gobot/platforms/beaglebone/beaglebone_adaptor_test.go
2014-06-12 16:15:06 -07:00

26 lines
447 B
Go

package beaglebone
import (
"github.com/hybridgroup/gobot"
"testing"
)
var b *BeagleboneAdaptor
func init() {
b = NewBeagleboneAdaptor("bot")
}
func TestFinalize(t *testing.T) {
gobot.Expect(t, b.Finalize(), true)
}
func TestConnect(t *testing.T) {
gobot.Expect(t, b.Connect(), true)
}
func TestDisconnect(t *testing.T) {
gobot.Expect(t, b.Disconnect(), true)
}
func TestReconnect(t *testing.T) {
gobot.Expect(t, b.Reconnect(), true)
}