1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-01 13:48:57 +08:00
hybridgroup.gobot/platforms/pebble/pebble_adaptor_test.go

20 lines
310 B
Go
Raw Normal View History

2014-05-02 17:22:05 -05:00
package pebble
import (
2014-06-13 14:18:57 -07:00
"github.com/hybridgroup/gobot"
"testing"
2014-05-02 17:22:05 -05:00
)
2014-06-13 14:18:57 -07:00
var adaptor *PebbleAdaptor
2014-05-02 17:22:05 -05:00
2014-06-13 14:18:57 -07:00
func init() {
adaptor = NewPebbleAdaptor("pebble")
}
2014-05-02 17:22:05 -05:00
2014-06-13 14:18:57 -07:00
func TestFinalize(t *testing.T) {
gobot.Expect(t, adaptor.Finalize(), true)
}
func TestConnect(t *testing.T) {
gobot.Expect(t, adaptor.Connect(), true)
}