Browse Source

Test: Check function for larger numbers

remotes/origin/test/client/add-test-cases
Alena Bandarovich 11 months ago
parent
commit
b2117666ab
  1. 3
      src/test/java/CalculationsTest.java

3
src/test/java/CalculationsTest.java

@ -16,5 +16,8 @@ public class CalculationsTest {
// Test with zero // Test with zero
assertEquals(0, calc.calculateSquare(0)); assertEquals(0, calc.calculateSquare(0));
// Test with a large number
assertEquals(1000000, calc.calculateSquare(1000));
} }
} }
Loading…
Cancel
Save