1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-08 19:29:16 +08:00
hybridgroup.gobot/platforms/ble/ble_client_adaptor_test.go
deadprogram 001e7583d8 ble: WIP on converting to currantlabs ble package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-14 12:26:15 +01:00

21 lines
381 B
Go

package ble
import (
"testing"
"gobot.io/x/gobot"
"gobot.io/x/gobot/gobottest"
)
var _ gobot.Adaptor = (*ClientAdaptor)(nil)
func initTestBLEClientAdaptor() *ClientAdaptor {
a := NewClientAdaptor("D7:99:5A:26:EC:38")
return a
}
func TestBLEClientAdaptor(t *testing.T) {
a := NewClientAdaptor("D7:99:5A:26:EC:38")
gobottest.Assert(t, a.Address(), "D7:99:5A:26:EC:38")
}