|
| 1 | +package test.com.bit; |
| 2 | + |
| 3 | +import com.bit.BitDemo; |
| 4 | +import org.junit.Test; |
| 5 | +import org.junit.Before; |
| 6 | +import org.junit.After; |
| 7 | + |
| 8 | +/** |
| 9 | +* BitDemo Tester. |
| 10 | +* |
| 11 | +* @author <Authors name> |
| 12 | +* @since <pre>6, 6, 2022</pre> |
| 13 | +* @version 1.0 |
| 14 | +*/ |
| 15 | +public class BitDemoTest { |
| 16 | + |
| 17 | +@Before |
| 18 | +public void before() throws Exception { |
| 19 | +} |
| 20 | + |
| 21 | +@After |
| 22 | +public void after() throws Exception { |
| 23 | +} |
| 24 | + |
| 25 | +/** |
| 26 | +* |
| 27 | +* Method: andDemo(int num1, int num2) |
| 28 | +* |
| 29 | +*/ |
| 30 | +@Test |
| 31 | +public void testAndDemo() throws Exception { |
| 32 | +//TODO: Test goes here... |
| 33 | + BitDemo.andDemo(8, 7); |
| 34 | +} |
| 35 | + |
| 36 | +/** |
| 37 | +* |
| 38 | +* Method: orDemo(int num1, int num2) |
| 39 | +* |
| 40 | +*/ |
| 41 | +@Test |
| 42 | +public void testOrDemo() throws Exception { |
| 43 | +//TODO: Test goes here... |
| 44 | + BitDemo.orDemo(8, 7); |
| 45 | +} |
| 46 | + |
| 47 | +/** |
| 48 | +* |
| 49 | +* Method: XorDemo(int num1, int num2) |
| 50 | +* |
| 51 | +*/ |
| 52 | +@Test |
| 53 | +public void testXorDemo() throws Exception { |
| 54 | +//TODO: Test goes here... |
| 55 | + BitDemo.xorDemo(8, 7); |
| 56 | +} |
| 57 | + |
| 58 | +/** |
| 59 | +* |
| 60 | +* Method: ReverseDemo(int num) |
| 61 | +* |
| 62 | +*/ |
| 63 | +@Test |
| 64 | +public void testReverseDemo() throws Exception { |
| 65 | +//TODO: Test goes here... |
| 66 | + BitDemo.reverseDemo(5); |
| 67 | +} |
| 68 | + |
| 69 | +/** |
| 70 | +* |
| 71 | +* Method: leftDemo(int num) |
| 72 | +* |
| 73 | +*/ |
| 74 | +@Test |
| 75 | +public void testLeftDemo() throws Exception { |
| 76 | +//TODO: Test goes here... |
| 77 | + BitDemo.leftDemo(10); |
| 78 | +} |
| 79 | + |
| 80 | +/** |
| 81 | +* |
| 82 | +* Method: rightDemo(int num) |
| 83 | +* |
| 84 | +*/ |
| 85 | +@Test |
| 86 | +public void testRightDemo() throws Exception { |
| 87 | +//TODO: Test goes here... |
| 88 | + BitDemo.rightDemo(20); |
| 89 | +} |
| 90 | + |
| 91 | + |
| 92 | +} |
0 commit comments