PharmacophoreQueryBond extends Bond implements IQueryBond { public double getLower() { return lower; } PharmacophoreQueryBond();  PharmacophoreQueryBond(PharmacophoreQueryAtom atom1, PharmacophoreQueryAtom atom2, double lower, double upper);  PharmacophoreQueryBond(PharmacophoreQueryAtom atom1, PharmacophoreQueryAtom atom2, double distance); @Override boolean matches(IBond bond); double getUpper(); double getLower(); @Override String toString();  }
@Test public void testLower() { PharmacophoreQueryAtom qatom1 = new PharmacophoreQueryAtom("Amine", "[CX2]N"); PharmacophoreQueryAtom qatom2 = new PharmacophoreQueryAtom("aromatic", "c1ccccc1"); PharmacophoreQueryBond qbond1 = new PharmacophoreQueryBond(qatom1, qatom2, 1.0, 2.0); PharmacophoreQueryBond qbond2 = new PharmacophoreQueryBond(qatom1, qatom2, 1.732); Assert.assertEquals(1.0, qbond1.getLower(), 0.01); Assert.assertEquals(1.732, qbond2.getLower(), 0.01); }