Ejemplo n.º 1
0
 public void RemoveNeighborTest()
 {
     _l = new Location("testLocation");
     Assert.AreEqual(_l.Count, 0);
     _l.AddNeighbor(_l, Directions.Down);
     Assert.AreEqual(_l.Count, 1);
     _l.RemoveNeighbor(Directions.Down);
     Assert.AreEqual(_l.Count, 0);
 }