public class TestCellFormatCondition extends TestCase {
public void testSVConditions() {
CellFormatCondition lt = CellFormatCondition.getInstance("<", "1.5");
assertTrue(lt.pass(1.4));
assertFalse(lt.pass(1.5));
assertFalse(lt.pass(1.6));
CellFormatCondition le = CellFormatCondition.getInstance("<=", "1.5");
assertTrue(le.pass(1.4));
assertTrue(le.pass(1.5));
assertFalse(le.pass(1.6));