@ -995,6 +995,13 @@ public class TasksFrame extends JFrame {
return x;
}
public int bin3(int a, int b)
{
int x = 0;
x = a*a - b*b;
private void setupBinF()
@ -26,6 +26,16 @@ class TasksFrameTest {
assertEquals(16,x2);
@Test
void bin3()
TasksFrame tasksFrame = new TasksFrame();
int x = tasksFrame.bin3(5,4);
assertEquals(9, x);
int x2 = tasksFrame.bin3(7,3);
assertEquals(40,x2);
void setupPI() {