Browse Source

Test: Add test for negative numbers

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

3
src/test/java/CalculationsTest.java

@ -10,5 +10,8 @@ public class CalculationsTest {
// Test with a positive number
assertEquals(25, calc.calculateSquare(5));
// Test with a negative number
assertEquals(16, calc.calculateSquare(-4));
}
}
Loading…
Cancel
Save