assertEquals(Result.FAIL, mtime.apply(sixDays));
}
@Test
public void testGreater() throws IOException {
Mtime mtime = new Mtime();
addArgument(mtime, "+5");
FindOptions options = new FindOptions();
options.setStartTime(NOW);
mtime.initialise(options);
assertEquals(Result.FAIL, mtime.apply(fourDays));
assertEquals(Result.FAIL, mtime.apply(fiveDaysMinus));
assertEquals(Result.FAIL, mtime.apply(fiveDays));
assertEquals(Result.FAIL, mtime.apply(fiveDaysPlus));
assertEquals(Result.PASS, mtime.apply(sixDays));
}