Add assertions to test of useless cache
diff --git a/commons-numbers-combinatorics/src/test/java/org/apache/commons/numbers/combinatorics/LogFactorialTest.java b/commons-numbers-combinatorics/src/test/java/org/apache/commons/numbers/combinatorics/LogFactorialTest.java
index 568335d..e7c84ce 100644
--- a/commons-numbers-combinatorics/src/test/java/org/apache/commons/numbers/combinatorics/LogFactorialTest.java
+++ b/commons-numbers-combinatorics/src/test/java/org/apache/commons/numbers/combinatorics/LogFactorialTest.java
@@ -84,15 +84,20 @@
     void testZeroCache() {
         // Ensure that no exception is thrown.
         final LogFactorial f = LogFactorial.create().withCache(0);
-        Assertions.assertEquals(0, f.value(0), 0d);
-        Assertions.assertEquals(0, f.value(1), 0d);
+        Assertions.assertEquals(0, f.value(0));
+        Assertions.assertEquals(0, f.value(1));
     }
 
     @Test
     void testUselessCache() {
         // Ensure that no exception is thrown.
-        LogFactorial.create().withCache(1);
-        LogFactorial.create().withCache(2);
+        LogFactorial f = LogFactorial.create().withCache(1);
+        Assertions.assertEquals(0, f.value(0));
+        Assertions.assertEquals(0, f.value(1));
+
+        f = LogFactorial.create().withCache(2);
+        Assertions.assertEquals(0, f.value(0));
+        Assertions.assertEquals(0, f.value(1));
     }
 
     @Test