dcache
dcache copied to clipboard
The DiskSpace class incorectly handles Infinity
trafficstars
My naive assumption is that Infinity is larger than 1. However, the DiskSpace class disagrees with me.
@Test
public void testInfinity() {
assertTrue(new DiskSpace("Infinity").isLargerThan(1L));
}