public void GetPresentationException() { var p = new EnglishPresentation(); var o = new Piece(); p.GetPresentation(o); }
public void GetPresentationPawn() { var p = new EnglishPresentation(); var o = new ChessPiece { Type = PieceTypes.Pawn }; Assert.AreEqual(null, p.GetPresentation(o)); }
public void GetPresentation() { var p = new EnglishPresentation(); var o = new ChessPiece {Type = PieceTypes.Rook}; Assert.AreEqual('R', p.GetPresentation(o)); }