tracks/java/exercises/difference-of-squares/src/test/java/DifferenceOfSquaresCalculatorTest.java in trackler-2.2.1.36 vs tracks/java/exercises/difference-of-squares/src/test/java/DifferenceOfSquaresCalculatorTest.java in trackler-2.2.1.37
- old
+ new
@@ -15,74 +15,74 @@
public void setUp() {
calculator = new DifferenceOfSquaresCalculator();
}
@Test
- public void testSquareOfSum1() {
+ public void testSquareOfSumUpToOne() {
final int expected = 1;
final int actual = calculator.computeSquareOfSumTo(1);
assertEquals(expected, actual);
}
@Ignore("Remove to run test")
@Test
- public void testSquareOfSum5() {
+ public void testSquareOfSumUpToFive() {
final int expected = 225;
final int actual = calculator.computeSquareOfSumTo(5);
assertEquals(expected, actual);
}
@Ignore("Remove to run test")
@Test
- public void testSquareOfSum100() {
+ public void testSquareOfSumUpToHundred() {
final int expected = 25502500;
final int actual = calculator.computeSquareOfSumTo(100);
assertEquals(expected, actual);
}
@Ignore("Remove to run test")
@Test
- public void testSumOfSquares1() {
+ public void testSumOfSquaresUpToOne() {
final int expected = 1;
final int actual = calculator.computeSumOfSquaresTo(1);
assertEquals(expected, actual);
}
@Ignore("Remove to run test")
@Test
- public void testSumOfSquares5() {
+ public void testSumOfSquaresUpToFive() {
final int expected = 55;
final int actual = calculator.computeSumOfSquaresTo(5);
assertEquals(expected, actual);
}
@Ignore("Remove to run test")
@Test
- public void testSumOfSquares100() {
+ public void testSumOfSquaresUpToHundred() {
final int expected = 338350;
final int actual = calculator.computeSumOfSquaresTo(100);
assertEquals(expected, actual);
}
@Ignore("Remove to run test")
@Test
- public void testDifferenceOfSquares1() {
+ public void testDifferenceOfSquaresUpToOne() {
final int expected = 0;
final int actual = calculator.computeDifferenceOfSquares(1);
assertEquals(expected, actual);
}
@Ignore("Remove to run test")
@Test
- public void testDifferenceOfSquares5() {
+ public void testDifferenceOfSquaresUpToFive() {
final int expected = 170;
final int actual = calculator.computeDifferenceOfSquares(5);
assertEquals(expected, actual);
}
@Ignore("Remove to run test")
@Test
- public void testDifferenceOfSquares100() {
+ public void testDifferenceOfSquaresUpToHundred() {
final int expected = 25164150;
final int actual = calculator.computeDifferenceOfSquares(100);
assertEquals(expected, actual);
}