예제 #1
0
 @Test
 public void inclusiveRangeContainment() {
   EXPECT.that(2).isInclusivelyInRange(2, 4);
   EXPECT.that(3).isInclusivelyInRange(2, 4);
   EXPECT.that(4).isInclusivelyInRange(2, 4);
 }
예제 #2
0
 @Test
 public void exclusiveRangeContainment() {
   EXPECT.that(3).isBetween(2, 5);
   EXPECT.that(4).isBetween(2, 5);
 }