Skip to content

Commit

Permalink
migrate 67 to junit5
Browse files Browse the repository at this point in the history
  • Loading branch information
fishercoder1534 committed Mar 10, 2024
1 parent 9b32ed7 commit e5aefb5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/test/java/com/fishercoder/_67Test.java
@@ -1,21 +1,21 @@
package com.fishercoder;

import com.fishercoder.solutions._67;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

import static junit.framework.Assert.assertEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;

public class _67Test {
private static _67.Solution1 solution1;
private static _67.Solution1 solution1;

@BeforeClass
public static void setup() {
solution1 = new _67.Solution1();
}
@BeforeEach
public void setup() {
solution1 = new _67.Solution1();
}

@Test
public void test1() {
assertEquals("100", solution1.addBinary("11", "1"));
}
@Test
public void test1() {
assertEquals("100", solution1.addBinary("11", "1"));
}
}

0 comments on commit e5aefb5

Please sign in to comment.