diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-01-30 13:38:00 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-01-30 13:38:00 -0500 |
commit | c8327ca8d5af0a4013654f9ebb8d509c865df255 (patch) | |
tree | f5a0cc80ee6b14fd196b69952448f4210f8962a4 /light_test.go | |
parent | c4508ac8421e71fbd7e2b39ac281c55944111aa6 (diff) |
Renamed lights files to light (singular).
Diffstat (limited to 'light_test.go')
-rw-r--r-- | light_test.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/light_test.go b/light_test.go new file mode 100644 index 0000000..5639630 --- /dev/null +++ b/light_test.go @@ -0,0 +1,15 @@ +package hue + +import ( + "testing" +) + +func TestGetAllLights(t *testing.T) { + bridge := NewBridge("192.168.1.128", "319b36233bd2328f3e40731b23479207") + GetAllLights(bridge) +} + +func TestGetLight(t *testing.T) { + bridge := NewBridge("192.168.1.128", "319b36233bd2328f3e40731b23479207") + GetLight(bridge, "Bathroom Light") +} |