From c8327ca8d5af0a4013654f9ebb8d509c865df255 Mon Sep 17 00:00:00 2001 From: Collin Guarino Date: Sat, 30 Jan 2016 13:38:00 -0500 Subject: Renamed lights files to light (singular). --- light_test.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 light_test.go (limited to 'light_test.go') 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") +} -- cgit v1.2.3