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
20 lines
514 B
package MeinBudgetView;
|
|
|
|
import static org.junit.jupiter.api.Assertions.*;
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
class MyTest {
|
|
|
|
@Test
|
|
public void testSetBudgetView() {
|
|
assertEquals(MeinGui.budget + " €", MeinGui.setBudgetView());
|
|
assertNotEquals(MeinGui.budget + " ", MeinGui.setBudgetView());
|
|
assertNotEquals(MeinGui.budget + "€ ", MeinGui.setBudgetView());
|
|
assertNotEquals(MeinGui.budget + " € ", MeinGui.setBudgetView());
|
|
assertNotEquals(MeinGui.budget + " ", MeinGui.setBudgetView());
|
|
|
|
|
|
}
|
|
|
|
}
|