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