public void GetPresentationBlack()
 {
     var p = new EnglishFENPresentation();
     var pl = new Player(2);
     var o = new ChessPiece { Type = PieceTypes.Rook, Player = pl };
     Assert.AreEqual('r', p.GetPresentation(o));
 }
 public void GetPresentationException()
 {
     var p = new EnglishFENPresentation();
     var o = new Piece();
     p.GetPresentation(o);
 }
 public void GetPlayerLower()
 {
     var p = new EnglishFENPresentation();
     Assert.AreEqual(2, p.GetPlayer('k'));
 }
 public void GetPlayerCapital()
 {
     var p = new EnglishFENPresentation();
     Assert.AreEqual(1, p.GetPlayer('K'));
 }
 public void GetPieceTypeWrongObjectException()
 {
     var p = new EnglishFENPresentation();
     Assert.AreEqual(PieceTypes.Pawn, p.GetPieceType(2));
 }
 public void GetPieceTypeString()
 {
     var p = new EnglishFENPresentation();
     Assert.AreEqual(PieceTypes.Bishop, p.GetPieceType("B"));
 }
 public void GetPieceTypePawn()
 {
     var p = new EnglishFENPresentation();
     Assert.AreEqual(PieceTypes.Pawn, p.GetPieceType('P'));
 }
 public void GetPieceTypeLower()
 {
     var p = new EnglishFENPresentation();
     Assert.AreEqual(PieceTypes.King, p.GetPieceType('k'));
 }