diff --git a/src/test/java/src/TasksFrameTest.java b/src/test/java/src/TasksFrameTest.java index 05f160b..beab9b5 100644 --- a/src/test/java/src/TasksFrameTest.java +++ b/src/test/java/src/TasksFrameTest.java @@ -32,11 +32,15 @@ class TasksFrameTest { s = tasksFrame.calcBinaryToInt(1); assertEquals("1", s); } -// -// @Test -// public void test_binaryToIntAndIntToBinary() { -// -// } + + @Test + public void test_binaryToIntAndIntToBinary() { + TasksFrame tasksFrame = new TasksFrame(); + String s = tasksFrame.calcBinaryToInt(1010); + String s1 = tasksFrame.calcItoB(Integer.valueOf(s)); + int of = Integer.valueOf(s1); + assertEquals(1010, of); + } @Test void test_recursiveFib() {