minor cleanup

This commit is contained in:
eugenp
2016-01-26 12:02:21 +02:00
parent da40afeeeb
commit 9de8a4a436
3 changed files with 9 additions and 10 deletions
@@ -80,10 +80,10 @@ public class TestComputerUtils {
public void testSuperMethodReference() {
final TriFunction<Integer, String, Integer, MacbookPro> integerStringIntegerObjectTriFunction = MacbookPro::new;
final MacbookPro macbookPro = integerStringIntegerObjectTriFunction.apply(2010, "black",100);
Double initialValue=new Double(999.99);
final MacbookPro macbookPro = integerStringIntegerObjectTriFunction.apply(2010, "black", 100);
Double initialValue = new Double(999.99);
final Double actualValue = macbookPro.calculateValue(initialValue);
Assert.assertEquals(766.659, actualValue,0.0);
Assert.assertEquals(766.659, actualValue, 0.0);
}
}