Skip to content

Commit 5c9afc3

Browse files
authored
Add files via upload
1 parent 0236fe9 commit 5c9afc3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import org.junit.Test;
2+
3+
import static org.junit.Assert.assertEquals;
4+
5+
public class GetBitTest {
6+
@Test
7+
public void getBitTest() {
8+
assertEquals(1, GetBit.getBit(7,1));
9+
assertEquals(0, GetBit.getBit(5,1));
10+
}
11+
}

0 commit comments

Comments
 (0)