tracks/java/exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java in trackler-2.2.1.151 vs tracks/java/exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java in trackler-2.2.1.152
- old
+ new
@@ -53,64 +53,64 @@
}
@Ignore("Remove to run test")
@Test
public void testQueensCannotAttack() {
- final QueenAttackCalculator calculator
+ QueenAttackCalculator calculator
= new QueenAttackCalculator(new Queen(2, 4), new Queen(6, 6));
assertFalse(calculator.canQueensAttackOneAnother());
}
@Ignore("Remove to run test")
@Test
public void testQueensCanAttackOnTheSameRow() {
- final QueenAttackCalculator calculator
+ QueenAttackCalculator calculator
= new QueenAttackCalculator(new Queen(2, 4), new Queen(2, 6));
assertTrue(calculator.canQueensAttackOneAnother());
}
@Ignore("Remove to run test")
@Test
public void testQueensCanAttackOnTheSameColumn() {
- final QueenAttackCalculator calculator
+ QueenAttackCalculator calculator
= new QueenAttackCalculator(new Queen(4, 5), new Queen(2, 5));
assertTrue(calculator.canQueensAttackOneAnother());
}
@Ignore("Remove to run test")
@Test
public void testQueensCanAttackOnFirstDiagonal() {
- final QueenAttackCalculator calculator
+ QueenAttackCalculator calculator
= new QueenAttackCalculator(new Queen(2, 2), new Queen(0, 4));
assertTrue(calculator.canQueensAttackOneAnother());
}
@Ignore("Remove to run test")
@Test
public void testQueensCanAttackOnSecondDiagonal() {
- final QueenAttackCalculator calculator
+ QueenAttackCalculator calculator
= new QueenAttackCalculator(new Queen(2, 2), new Queen(3, 1));
assertTrue(calculator.canQueensAttackOneAnother());
}
@Ignore("Remove to run test")
@Test
public void testQueensCanAttackOnThirdDiagonal() {
- final QueenAttackCalculator calculator
+ QueenAttackCalculator calculator
= new QueenAttackCalculator(new Queen(2, 2), new Queen(1, 1));
assertTrue(calculator.canQueensAttackOneAnother());
}
@Ignore("Remove to run test")
@Test
public void testQueensCanAttackOnFourthDiagonal() {
- final QueenAttackCalculator calculator
+ QueenAttackCalculator calculator
= new QueenAttackCalculator(new Queen(2, 2), new Queen(5, 5));
assertTrue(calculator.canQueensAttackOneAnother());
}