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