Esempio n. 1
0
def test_check_boundaries_out_of_canvas6():
    assert gui_utils.check_boundaries(menu, MockEvent(0, 0)) is False
Esempio n. 2
0
def test_check_boundaries_border():
    assert gui_utils.check_boundaries(menu, MockEvent(69 + 224, 129 + 224))
Esempio n. 3
0
def test_check_boundaries_out_of_canvas2():
    assert gui_utils.check_boundaries(menu, MockEvent(200, 350)) is True
Esempio n. 4
0
def test_check_boundaries_correct():
    assert gui_utils.check_boundaries(menu, MockEvent(200, 200))