From b2117666abb8952d88c69b0feb81b0749a06015b Mon Sep 17 00:00:00 2001 From: Alena Bandarovich Date: Fri, 9 Feb 2024 22:47:46 +0100 Subject: [PATCH] Test: Check function for larger numbers --- src/test/java/CalculationsTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/java/CalculationsTest.java b/src/test/java/CalculationsTest.java index 29d2496..52c5e17 100644 --- a/src/test/java/CalculationsTest.java +++ b/src/test/java/CalculationsTest.java @@ -16,5 +16,8 @@ public class CalculationsTest { // Test with zero assertEquals(0, calc.calculateSquare(0)); + // Test with a large number + assertEquals(1000000, calc.calculateSquare(1000)); + } }