import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class DifferenceOfSquaresCalculatorTest {

    private DifferenceOfSquaresCalculator calculator;

    @Before
    public void setUp() {
        calculator = new DifferenceOfSquaresCalculator();
    }

    @Test
    public void testSquareOfSumUpToOne() {
        final int expected = 1;
        final int actual = calculator.computeSquareOfSumTo(1);
        assertEquals(expected, actual);
    }

    @Ignore("Remove to run test")
    @Test
    public void testSquareOfSumUpToFive() {
        final int expected = 225;
        final int actual = calculator.computeSquareOfSumTo(5);
        assertEquals(expected, actual);
    }

    @Ignore("Remove to run test")
    @Test
    public void testSquareOfSumUpToHundred() {
        final int expected = 25502500;
        final int actual = calculator.computeSquareOfSumTo(100);
        assertEquals(expected, actual);
    }

    @Ignore("Remove to run test")
    @Test
    public void testSumOfSquaresUpToOne() {
        final int expected = 1;
        final int actual = calculator.computeSumOfSquaresTo(1);
        assertEquals(expected, actual);
    }

    @Ignore("Remove to run test")
    @Test
    public void testSumOfSquaresUpToFive() {
        final int expected = 55;
        final int actual = calculator.computeSumOfSquaresTo(5);
        assertEquals(expected, actual);
    }

    @Ignore("Remove to run test")
    @Test
    public void testSumOfSquaresUpToHundred() {
        final int expected = 338350;
        final int actual = calculator.computeSumOfSquaresTo(100);
        assertEquals(expected, actual);
    }

    @Ignore("Remove to run test")
    @Test
    public void testDifferenceOfSquaresUpToOne() {
        final int expected = 0;
        final int actual = calculator.computeDifferenceOfSquares(1);
        assertEquals(expected, actual);
    }

    @Ignore("Remove to run test")
    @Test
    public void testDifferenceOfSquaresUpToFive() {
        final int expected = 170;
        final int actual = calculator.computeDifferenceOfSquares(5);
        assertEquals(expected, actual);
    }

    @Ignore("Remove to run test")
    @Test
    public void testDifferenceOfSquaresUpToHundred() {
        final int expected = 25164150;
        final int actual = calculator.computeDifferenceOfSquares(100);
        assertEquals(expected, actual);
    }

}

@@ -374,38 +374,32 @@
 One() %7B%0A        
-final 
 int expected = 1
@@ -400,38 +400,32 @@
 ed = 1;%0A        
-final 
 int actual = cal
@@ -592,38 +592,32 @@
 ive() %7B%0A        
-final 
 int expected = 2
@@ -620,38 +620,32 @@
  = 225;%0A        
-final 
 int actual = cal
@@ -815,38 +815,32 @@
 red() %7B%0A        
-final 
 int expected = 2
@@ -848,38 +848,32 @@
 502500;%0A        
-final 
 int actual = cal
@@ -1042,38 +1042,32 @@
 One() %7B%0A        
-final 
 int expected = 1
@@ -1068,38 +1068,32 @@
 ed = 1;%0A        
-final 
 int actual = cal
@@ -1262,38 +1262,32 @@
 ive() %7B%0A        
-final 
 int expected = 5
@@ -1289,38 +1289,32 @@
 d = 55;%0A        
-final 
 int actual = cal
@@ -1486,38 +1486,32 @@
 red() %7B%0A        
-final 
 int expected = 3
@@ -1517,38 +1517,32 @@
 338350;%0A        
-final 
 int actual = cal
@@ -1719,38 +1719,32 @@
 One() %7B%0A        
-final 
 int expected = 0
@@ -1745,38 +1745,32 @@
 ed = 0;%0A        
-final 
 int actual = cal
@@ -1951,38 +1951,32 @@
 ive() %7B%0A        
-final 
 int expected = 1
@@ -1979,38 +1979,32 @@
  = 170;%0A        
-final 
 int actual = cal
@@ -2192,30 +2192,24 @@
 ) %7B%0A        
-final 
 int expected
@@ -2233,14 +2233,8 @@
     
-final 
 int 

remove `final` from tests #1421 (#1445)