Question: import static org.junit.Assert.assertEquals; import org.junit.Test; public class IntCompareTest { @Test public void testLessThanIsLessThan() { assertEquals(true, IntCompare.firstIsLessThanSecond(0, 1)); } @Test public void testLessThanNotLessThan() { assertEquals(false, IntCompare.firstIsLessThanSecond(1,
import static org.junit.Assert.assertEquals; import org.junit.Test; public class IntCompareTest { @Test public void testLessThanIsLessThan() { assertEquals(true, IntCompare.firstIsLessThanSecond(0, 1)); } @Test public void testLessThanNotLessThan() { assertEquals(false, IntCompare.firstIsLessThanSecond(1, 0)); } // You will need to write TWO tests: // 1.) A test to make sure that firstIsGreaterThanSecond returns // true if the first parameter is greater than the second // 2.) A test to make sure that firstIsGreaterThanSecond returns // false if the first parameter is not greater than the second // TODO - write your code below this comment. } Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
