public void DiagonalMovePathCheck()
 {
     var m = new DiagonalMoveTemplate();
     var s = new GameState(3, 3);
     s[new Position(2, 2)] = new Piece();
     Assert.IsFalse(m.CanApply(new Position(1, 1), new Position(3, 3), s));
 }
 public void DiagonalMoveUpRight()
 {
     var m = new DiagonalMoveTemplate();
     var s = new GameState(5, 5);
     Assert.IsTrue(m.CanApply(new Position(3, 3), new Position(5, 5), s));
 }
 public void DiagonalMoveError()
 {
     var m = new DiagonalMoveTemplate();
     var s = new GameState(5, 5);
     Assert.IsFalse(m.CanApply(new Position(3, 3), new Position(1, 2), s));
 }