diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-27 00:04:52 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-27 00:04:52 -0500 |
commit | 2b398315af634497a6e7afd0e927e47212cac88d (patch) | |
tree | f402b63afcc33d7f346e21ebb41a3a0acb0da72f /bridge_test.go | |
parent | 2d0ac035f5095cef9e9a0b0dee7b50a90ee2e682 (diff) |
Implemented FindBridge, added unit tests, and documentation.
Diffstat (limited to 'bridge_test.go')
-rw-r--r-- | bridge_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bridge_test.go b/bridge_test.go index 65c2c4a..3fcaa81 100644 --- a/bridge_test.go +++ b/bridge_test.go @@ -9,6 +9,7 @@ package hue import ( "testing" + "fmt" ) func TestCreateUser(t *testing.T) { @@ -16,3 +17,8 @@ func TestCreateUser(t *testing.T) { bridge.CreateUser("test") //bridge.DeleteUser(bridge.Username) } + +func TestFindBridge(t *testing.T) { + bridge, _ := FindBridge() + fmt.Println(bridge.IPAddress) +} |