public void GetPieceTypeWrongObjectException() { var p = new EnglishPresentation(); Assert.AreEqual(PieceTypes.Pawn, p.GetPieceType(2)); }
public void GetPieceTypeString() { var p = new EnglishPresentation(); Assert.AreEqual(PieceTypes.Bishop, p.GetPieceType("B")); }
public void GetPieceTypeLower() { var p = new EnglishPresentation(); Assert.AreEqual(PieceTypes.King, p.GetPieceType('k')); }
public void GetPieceTypePawn() { var p = new EnglishPresentation(); Assert.AreEqual(PieceTypes.Pawn, p.GetPieceType(null)); }
public void GetPieceTypeException() { var p = new EnglishPresentation(); Assert.AreEqual(PieceTypes.Pawn, p.GetPieceType('Z')); }