void () { Version v = new Version(3, 2, 1); assertTrue(v.is(3)); assertFalse(v.is(4)); assertTrue(v.is(3, 2)); assertFalse(v.is(3, 3)); assertTrue(v.is(3, 2, 1)); assertFalse(v.is(3, 2, 2)); assertTrue(v.compareTo(3) == 0); assertTrue(v.compareTo(4) < 0); assertTrue(v.compareTo(2) > 0); assertTrue(v.compareTo(3, 2) == 0); assertTrue(v.compareTo(3, 3) < 0); assertTrue(v.compareTo(3, 1) > 0); assertTrue(v.compareTo(3, 2, 1) == 0); assertTrue(v.compareTo(3, 2, 2) < 0); assertTrue(v.compareTo(3, 2, 0) > 0); }