Skip to content

Commit 7078776

Browse files
authored
Merge pull request #1 from lukasb1b/lukasb1b-update-Test
Update GetBitTest.java
2 parents 5c9afc3 + 9fa41d5 commit 7078776

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
import org.junit.Test;
1+
package com.thealgorithms.bitmanipulation;
22

3-
import static org.junit.Assert.assertEquals;
3+
import static org.junit.jupiter.api.Assertions.*;
4+
5+
import org.junit.jupiter.api.Test;
46

57
public class GetBitTest {
68
@Test
79
public void getBitTest() {
8-
assertEquals(1, GetBit.getBit(7,1));
9-
assertEquals(0, GetBit.getBit(5,1));
10+
assertEquals(1, GetBit.getBit(7, 1));
11+
assertEquals(0, GetBit.getBit(5, 1));
1012
}
1113
}

0 commit comments

Comments
 (0)