diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-01-24 23:49:37 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-01-24 23:49:37 -0500 |
commit | 8392337305e5d5a3bb287ec62f212a8b64df95fb (patch) | |
tree | 10f58ff9876fb6a2196311154f26ea094dee79f8 /lights_test.go | |
parent | dcccb4e4d822b5af3d2c4bea84d2fc8bb8a0bd65 (diff) |
Unit tests for lights.go file.
Diffstat (limited to 'lights_test.go')
-rw-r--r-- | lights_test.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lights_test.go b/lights_test.go new file mode 100644 index 0000000..66f01c1 --- /dev/null +++ b/lights_test.go @@ -0,0 +1,10 @@ +package hue + +import ( + "testing" +) + +func TestGetAllLights(t *testing.T) { + bridge := NewBridge("192.168.1.128", "319b36233bd2328f3e40731b23479207") + GetAllLights(bridge) +}
\ No newline at end of file |