1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-29 13:49:14 +08:00
hybridgroup.gobot/platforms/pebble/pebble_adaptor_test.go
2014-07-17 11:41:47 -07:00

21 lines
386 B
Go

package pebble
import (
"github.com/hybridgroup/gobot"
"testing"
)
func initTestPebbleAdaptor() *PebbleAdaptor {
return NewPebbleAdaptor("pebble")
}
func TestPebbleAdaptorConnect(t *testing.T) {
a := initTestPebbleAdaptor()
gobot.Assert(t, a.Connect(), true)
}
func TestPebbleAdaptorFinalize(t *testing.T) {
a := initTestPebbleAdaptor()
gobot.Assert(t, a.Finalize(), true)
}