|
@ -13,7 +13,15 @@ class MyTest { |
|
|
assertNotEquals(MeinGui.budget + "€ ", MeinGui.setBudgetView()); |
|
|
assertNotEquals(MeinGui.budget + "€ ", MeinGui.setBudgetView()); |
|
|
assertNotEquals(MeinGui.budget + " € ", MeinGui.setBudgetView()); |
|
|
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()); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|