From 6028626db3b3a8bbce5112c9a00aa0dd5f9ff7fa Mon Sep 17 00:00:00 2001 From: rexim Date: Sat, 27 Jan 2018 02:38:18 +0700 Subject: [PATCH] Format floats #532 --- src/test/java/org/cactoos/scalar/AvgOfTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/cactoos/scalar/AvgOfTest.java b/src/test/java/org/cactoos/scalar/AvgOfTest.java index 004f1d5316..ccb7566583 100644 --- a/src/test/java/org/cactoos/scalar/AvgOfTest.java +++ b/src/test/java/org/cactoos/scalar/AvgOfTest.java @@ -335,7 +335,7 @@ public void withLongScalarsIntValue() { public void withFloatScalarsIntValue() { MatcherAssert.assertThat( new AvgOf( - () -> 1f, () -> 2f, () -> 10f + () -> 1.0f, () -> 2.0f, () -> 10.0f ).longValue(), Matchers.equalTo(4L) );