public void TryToCreateChessmanOnStartPosition(int row, int collumn, Type expectedType, ChessmenType expectedChessmenType)
        {
            var createdChessman = ChessmanFactory.TryToCreateChessmanOnStartPosition(row, collumn);

            Assert.AreEqual(createdChessman.GetType(), expectedType, "Types should be aqual");
            Assert.AreEqual(createdChessman.Type, expectedChessmenType, "Chessman types should be aqual");
        }
        public void TryToCreateChessmanTest(ChessmenType chessmanType, Type expectedType)
        {
            var color           = Color.Black;
            var createdChessman = ChessmanFactory.TryToCreateChessman(color, chessmanType);

            Assert.AreEqual(createdChessman.GetType(), expectedType, "Types should be aqual");
            Assert.AreEqual(createdChessman.Type, chessmanType, "Chessman types should be aqual");
            Assert.AreEqual(createdChessman.Color, color, "Colors types should be aqual");
        }
            static ChessmanFactory()
            {
                Instance   = new ChessmanFactory();
                hsChessman = new Hashtable();

                Chessman black, white;

                black = new BlackChessman();
                hsChessman.Add(Color.Black, black);
                white = new WhiteChessman();
                hsChessman.Add(Color.White, white);
            }