public void CheckForTopEdge() { List<List<bool>> map = new List<List<bool>>(); map.Add(new List<bool>(new bool[] { true, true, true })); map.Add(new List<bool>(new bool[] { true, true, true })); map.Add(new List<bool>(new bool[] { true, true, true })); Cell cell = new Cell(1, 0, map); Assert.AreEqual(true, cell.isOnTopEdge()); }