@ -1262,6 +1262,13 @@ public class TasksFrame extends JFrame {
return x;
}
public int setupErtraege(int a, int b, int c)
{
int x = 0;
x = a+b+c;
public void setupArea()
@ -43,6 +43,14 @@ class TasksFrameTest {
int x = tasksFrame.setupAufwendungen(20000,6000,10000,4000,100);
assertEquals(40100, x);
@Test
void ertraege()
TasksFrame tasksFrame = new TasksFrame();
int x2 = tasksFrame.setupErtraege(80000,13000,4000);
assertEquals(97000, x2);
void setupPI() {