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