@Test public void testCut() { Total total = new Total(); Cut cut = new Cut(); double before = total.reduce(sampleCompany); cut.walk(sampleCompany); double after = total.reduce(sampleCompany); assertEquals(before / 2.0d, after, 0); }