InputFilterMinMax implements InputFilter { protected boolean isInRange(double a, double b, double c) { return b > a ? c >= a && c <= b : c >= b && c <= a; } InputFilterMinMax(double min, double max);  InputFilterMinMax(String min, String max); @Override CharSequence filter(CharSequence source, int start, int end, Spanned dest, int dstart, int dend);  }
@Test public void checkIfRACCA1ValueIsInRangeTrue() { assertTrue(ifmm.isInRange(1, 7, 3)); }
@Test public void checkIfRACCA2ValueIsInRangeFalse() { assertFalse(ifmm.isInRange(5, 7, 3)); }
@Test public void checkIfRACCA3ValueIsInRangeTrue() { assertTrue(ifmm.isInRange(5, 1, 4)); }
@Test public void checkIfRACCA4ValueIsInRangeFalse() { assertFalse(ifmm.isInRange(3, 1, 4)); }
@Test public void checkIfRACCB1ValueIsInRangeTrue() { assertTrue(ifmm.isInRange(1, 7, 5)); }
@Test public void checkIfRACCB2ValueIsInRangeFalse() { assertFalse(ifmm.isInRange(1, 2, 5)); }
@Test public void checkIfRACCB3ValueIsInRangeTrue() { assertTrue(ifmm.isInRange(8, 4, 5)); }
@Test public void checkIfRACCB4ValueIsInRangeFalse() { assertFalse(ifmm.isInRange(8, 6, 5)); }
@Test public void checkIfRACCC1ValueIsInRangeTrue() { assertTrue(ifmm.isInRange(3, 7, 4)); }
@Test public void checkIfRACCC2ValueIsInRangeFalse() { assertFalse(ifmm.isInRange(3, 7, 2)); }
@Test public void checkIfRACCC3ValueIsInRangeTrue() { assertTrue(ifmm.isInRange(6, 4, 5)); }
@Test public void checkIfRACCC4ValueIsInRange4False() { assertFalse(ifmm.isInRange(6, 4, 7)); }