Example #1
0
 def test_turn_off(self):
     self.assertEqual(0, BrightGrid.applySwitch("turn off", 0))
Example #2
0
 def test_toggle(self):
     self.assertEqual(4, BrightGrid.applySwitch("toggle", 2))
Example #3
0
 def test_turn_on(self):
     self.assertEqual(1, BrightGrid.applySwitch("turn on", 0))