Ejemplo n.º 1
0
 public void PointMoveUp()
 {
     var p = new Point(5, 5);
     Assert.AreEqual(new Point(5, 4), p.PlanMove(Direction.Up));
 }
Ejemplo n.º 2
0
 public void PointMoveLeft()
 {
     var p = new Point(5, 5);
     Assert.AreEqual(new Point(4, 5), p.PlanMove(Direction.Left));
 }
Ejemplo n.º 3
0
 public void PointMoveRight()
 {
     var p = new Point(5, 5);
     Assert.AreEqual(new Point(6, 5), p.PlanMove(Direction.Right));
 }
Ejemplo n.º 4
0
 public void PointMoveDown()
 {
     var p = new Point(5, 5);
     Assert.AreEqual(new Point(5, 6), p.PlanMove(Direction.Down));
 }