diff --git a/src/test/java/CalculationsTest.java b/src/test/java/CalculationsTest.java index 6586f94..634a972 100644 --- a/src/test/java/CalculationsTest.java +++ b/src/test/java/CalculationsTest.java @@ -32,5 +32,8 @@ public class CalculationsTest { assertEquals(24, fact.calculateFactorial(4)); assertEquals(120, fact.calculateFactorial(5)); + // Test with large number + assertEquals(3628800, fact.calculateFactorial(10)); } } +