1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-09 19:29:27 +08:00
hybridgroup.gobot/platforms/ble/device_information_driver_test.go
deadprogram 5ddfb632bc ble: rename drivers to make them more obvious, and add test placeholders
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-09 12:15:33 +01:00

18 lines
361 B
Go

package ble
import (
"testing"
"gobot.io/x/gobot/gobottest"
)
func initTestDeviceInformationDriver() *DeviceInformationDriver {
d := NewDeviceInformationDriver(NewClientAdaptor("D7:99:5A:26:EC:38"))
return d
}
func TestDeviceInformationDriver(t *testing.T) {
d := initTestDeviceInformationDriver()
gobottest.Assert(t, d.Name(), "DeviceInformation")
}