Commit 04a6b699 by Paktalin

BishopTest added

parent 26e06e47
......@@ -23,6 +23,7 @@ public class AllTests extends TestSuite {
suite.addTestSuite(KingTest.class);
suite.addTestSuite(PawnTest.class);
suite.addTestSuite(QueenTest.class);
suite.addTestSuite(BishopTest.class);
return suite;
}
......
package com.example.paktalin.agilejava_exercises.pieces;
/**
* Created by Paktalin on 01/06/2018.
*/
public class BishopTest extends PieceTest {
@Override
void setExpectedRepresentation() {
representation = 'b';
}
@Override
Piece createPiece(Piece.Color color) {
return new Bishop(color);
}
@Override
void setExpectedStrength() {
strength = 3;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment