def test_next_button_unclicked(): # TESTS IF THE BUTTON IS NOT CLICK WILL RETURN A FALSE VALUE button_F = False button = Mainmenu() button_TF = button.Next_button(False) assert button_TF == button_F, "This should be True until the button is clicked"
def test_next_button_clicked(): # TESTS IF THE BUTTON IS CLICKED IT WILL RETURN A TRUE VALUE AFTER CLICKED button_T = True button = Mainmenu() button_TF = button.Next_button(True) assert button_TF == button_T, "This should be True after the button is clicked"