diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-08 22:24:24 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-08 22:24:24 -0500 |
commit | e7deedcd248dbc89623db252dcf2b0559d944abb (patch) | |
tree | 70338f7d49566c64847763857644ff665b377e1e /light_test.go | |
parent | a05574836d277a8ca3c75ab3a7b7b9a1e1081faa (diff) |
Added ColorLoop on, off, toggle functions.
Diffstat (limited to 'light_test.go')
-rw-r--r-- | light_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/light_test.go b/light_test.go index 0298312..95cab24 100644 --- a/light_test.go +++ b/light_test.go @@ -26,9 +26,7 @@ func TestSetLightState(t *testing.T) { time.Sleep(time.Second) selectedLight.Off() time.Sleep(time.Second) - selectedLight.On() - time.Sleep(time.Second) selectedLight.Toggle() time.Sleep(time.Second) - selectedLight.Toggle() + selectedLight.ColorLoop() } |