### Question:
VersionRange { public boolean isEmpty() { return empty; } VersionRange(Version low, boolean isLowInclusive, Version high, boolean isHighInclusive); static VersionRange parse(String range); Version getFloor(); boolean isFloorInclusive(); Version getCeiling(); boolean isCeilingInclusive(); boolean isInRange(Version version); boolean isExact(); boolean isEmpty(); boolean equals(Object obj); @Override int hashCode(); String toString(); static final char LEFT_OPEN; static final char LEFT_CLOSED; static final char RIGHT_OPEN; static final char RIGHT_CLOSED; }### Answer:
@Test public void testIsEmpty() throws Exception { Assert.assertTrue(VersionRange.parse("(1.1.0.0,1.1.0.0)").isEmpty()); Assert.assertTrue(VersionRange.parse("(1.2.0.0,1.1.0.0]").isEmpty()); }
@Test public void testIsEmpty() throws Exception { assertTrue(VersionRange.parse("(1.1.0.0,1.1.0.0)").isEmpty()); assertTrue(VersionRange.parse("(1.2.0.0,1.1.0.0]").isEmpty()); }