aboutsummaryrefslogtreecommitdiff
path: root/light_test.go
diff options
context:
space:
mode:
authorCollin Guarino <collin.guarino@gmail.com>2016-02-19 19:38:54 -0500
committerCollin Guarino <collin.guarino@gmail.com>2016-02-19 19:38:54 -0500
commit0e98a2544988b9e684eac3f79c953fce50cd4c0d (patch)
treef0c6a03e52783c5d98655cca84bbcd7412ba1f1d /light_test.go
parenta2235f5462fbcf5a663c6a81b1d5345a70c6b9fb (diff)
Implemented Light.SetColor with light color XY HSL values pre-defined.
Diffstat (limited to 'light_test.go')
-rw-r--r--light_test.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/light_test.go b/light_test.go
index 6fa1eb0..436d652 100644
--- a/light_test.go
+++ b/light_test.go
@@ -33,5 +33,23 @@ func TestSetLightState(t *testing.T) {
selectedLight.Blink(3)
+ // selectedLight.SetColor(RED)
+ // time.Sleep(time.Second)
+ // selectedLight.SetColor(YELLOW)
+ // time.Sleep(time.Second)
+ // selectedLight.SetColor(ORANGE)
+ // time.Sleep(time.Second)
+ // selectedLight.SetColor(GREEN)
+ // time.Sleep(time.Second)
+ // selectedLight.SetColor(CYAN)
+ // time.Sleep(time.Second)
+ // selectedLight.SetColor(BLUE)
+ // time.Sleep(time.Second)
+ // selectedLight.SetColor(PURPLE)
+ // time.Sleep(time.Second)
+ // selectedLight.SetColor(PINK)
+ // time.Sleep(time.Second)
+ // selectedLight.SetColor(WHITE)
+
// _ := selectedLight.Delete()
}