Commit 8c581d45 authored by Kevin Seidel's avatar Kevin Seidel
Browse files

Add test for addr

parent c88cfeb1
package ble
import "testing"
func TestNewAddr(t *testing.T) {
a := NewAddr("TeSt")
if a.String() != "test" {
t.Error("address should be \"test\" but is ", a.String())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment