public void Given__r__should_get__null() { var result = PieceType.GetFor('r'); result.ShouldBeNull(); }
public void Given__R__should_get__PieceType_Rook() { var result = PieceType.GetFor('R'); result.ShouldBeEqualTo(PieceType.Rook); }
public void Given__Q__should_get__PieceType_Queen() { var result = PieceType.GetFor('Q'); result.ShouldBeEqualTo(PieceType.Queen); }
public void Given__N__should_get__PieceType_Knight() { var result = PieceType.GetFor('N'); result.ShouldBeEqualTo(PieceType.Knight); }
public void Given__K__should_get__PieceType_King() { var result = PieceType.GetFor('K'); result.ShouldBeEqualTo(PieceType.King); }
public void Given__B__should_get__PieceType_Bishop() { var result = PieceType.GetFor('B'); result.ShouldBeEqualTo(PieceType.Bishop); }