You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
514 B

  1. package MeinBudgetView;
  2. import static org.junit.jupiter.api.Assertions.*;
  3. import org.junit.jupiter.api.Test;
  4. class MyTest {
  5. @Test
  6. public void testSetBudgetView() {
  7. assertEquals(MeinGui.budget + " �", MeinGui.setBudgetView());
  8. assertNotEquals(MeinGui.budget + " ", MeinGui.setBudgetView());
  9. assertNotEquals(MeinGui.budget + "� ", MeinGui.setBudgetView());
  10. assertNotEquals(MeinGui.budget + " � ", MeinGui.setBudgetView());
  11. assertNotEquals(MeinGui.budget + " ", MeinGui.setBudgetView());
  12. }
  13. }