We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c9afc3 + 9fa41d5 commit 7078776Copy full SHA for 7078776
src/test/java/com/thealgorithms/bitmanipulation/GetBitTest.java
@@ -1,11 +1,13 @@
1
-import org.junit.Test;
+package com.thealgorithms.bitmanipulation;
2
3
-import static org.junit.Assert.assertEquals;
+import static org.junit.jupiter.api.Assertions.*;
4
+
5
+import org.junit.jupiter.api.Test;
6
7
public class GetBitTest {
8
@Test
9
public void getBitTest() {
- assertEquals(1, GetBit.getBit(7,1));
- assertEquals(0, GetBit.getBit(5,1));
10
+ assertEquals(1, GetBit.getBit(7, 1));
11
+ assertEquals(0, GetBit.getBit(5, 1));
12
}
13
0 commit comments