@Test
public void testPredecessor() {

    assertFalse(new DeweyVersion("1.0").isCompatible(new DeweyVersion("2.0")));
    assertTrue(new DeweyVersion("1.0.0").isCompatible(new DeweyVersion("1.0")));
    assertTrue(new DeweyVersion("1.1").isCompatible(new DeweyVersion("1.0")));
    assertFalse(new DeweyVersion("1.0").isCompatible(new DeweyVersion("1.1")));
}