public void Test_LightManager() { var grid = new int[32, 32]; for (var i = 0; i < 32; i++) { for (var j = 0; j < 32; j++) { grid[i, j] = 8; } } LightManager.CalcLights(grid, 10, 10, 1); Assert.AreEqual(2, grid[9, 9]); Assert.AreEqual(4, grid[8, 8]); Assert.AreEqual(5, grid[7, 8]); Assert.AreEqual(8, grid[3, 3]); }