Skip to content

Commit 6499c3e

Browse files
authored
Merge pull request #7 from lukasb1b/lukasb1b-patch-1
Create MinValueTest.java
2 parents aaa2b26 + e31c4cf commit 6499c3e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.thealgorithms.bitmanipulation;
2+
3+
import static org.junit.Assert.assertEquals;
4+
5+
import org.junit.Test;
6+
7+
public class MinValueTest {
8+
@Test
9+
public void flipBitTest() {
10+
assertEquals(-1, MinValue.min(-1, 3));
11+
assertEquals(2, MinValue.min(3, 2));
12+
}
13+
}

0 commit comments

Comments
 (0)