@Test
public void testGEMatches() {
Requirement r = new Requirement("test", ReqType.GE, "5.9", RepositoryType.GIT, "");
Assert.assertFalse(r.matches(new Version("5.8.0")));
Assert.assertTrue(r.matches(new Version("5.10.0")));
Assert.assertTrue(r.matches(new Version("5.9")));
Assert.assertTrue(r.matches(new Version("5.9.0")));
Assert.assertFalse(r.matches(new Version("4.10.1")));
r = new Requirement("test", ReqType.GE, "5.*", RepositoryType.GIT, "");
Assert.assertTrue(r.matches(new Version("5.9.1")));
Assert.assertTrue(r.matches(new Version("5.10.1")));