Exemplo n.º 1
0
        public bool ContainsCellTest(int width, int height, int checkX, int checkY)
        {
            // Arrange
            var mapCellsFactory = new Func <IAreaMapCellInternal>(() => new Mock <IAreaMapCellInternal>().Object);

            var map = new AreaMap(1, mapCellsFactory, width, height);

            // Act
            return(map.ContainsCell(checkX, checkY));
        }