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