Exemplo n.º 1
0
 def test_it_sets_macrobutton2_trigger_off(self):
     tests.button_setstatus(2, 0, 3)
     assert_equal(tests.button_getstatus(2, 3), 0)
Exemplo n.º 2
0
 def test_it_sets_macrobutton0_state_on(self):
     tests.button_setstatus(0, 1, 1)
     assert_equal(tests.button_getstatus(0, 1), 1)
Exemplo n.º 3
0
 def test_it_sets_macrobutton1_trigger_on(self):
     tests.button_setstatus(1, 1, 3)
     assert_equal(tests.button_getstatus(1, 3), 1)
Exemplo n.º 4
0
 def test_it_sets_macrobutton2_stateonly_off(self):
     tests.button_setstatus(2, 0, 2)
     assert_equal(tests.button_getstatus(2, 2), 0)
Exemplo n.º 5
0
 def test_it_sets_macrobutton1_stateonly_on(self):
     tests.button_setstatus(1, 1, 2)
     assert_equal(tests.button_getstatus(1, 2), 1)
Exemplo n.º 6
0
 def test_it_sets_macrobutton1_state_off(self):
     tests.button_setstatus(1, 0, 1)
     assert_equal(tests.button_getstatus(1, 1), 0)