Ejemplo n.º 1
0
        public void CreateGrid_test()
        {
            var cmd    = "grid 10 20";
            var parser = new CommandParser();
            var t      = parser.CreateGrid(cmd, () => new Grid());

            Assert.AreEqual(typeof(Position.Grid), t.GetType());
        }