|
|
@ -13,8 +13,16 @@ class MyTest { |
|
|
|
assertNotEquals(MeinGui.budget + "€ ", MeinGui.setBudgetView()); |
|
|
|
assertNotEquals(MeinGui.budget + " € ", MeinGui.setBudgetView()); |
|
|
|
assertNotEquals(MeinGui.budget + " ", MeinGui.setBudgetView()); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
public void testSetExpensesView() { |
|
|
|
assertEquals(MeinGui.expenses - MeinGui.budget + " €", MeinGui.setExpensesView()); |
|
|
|
assertNotEquals(MeinGui.expenses - MeinGui.budget, MeinGui.setExpensesView()); |
|
|
|
assertNotEquals(MeinGui.expenses - MeinGui.budget + "€ " , MeinGui.setExpensesView()); |
|
|
|
assertNotEquals(MeinGui.expenses - MeinGui.budget + " € " , MeinGui.setExpensesView()); |
|
|
|
assertNotEquals(MeinGui.expenses - MeinGui.budget + "", MeinGui.setExpensesView()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |