public void GetPointEndTest()
 {
     Point[] p = {new Point(3, 3), new Point(5, 3), new Point(5, 5)};
     Road r = new Road(p);
     Assert.AreEqual(p[2], r.GetPointEnd());
 }
 public void ToStringTest()
 {
     Road r=new Road(new Point[]{new Point(3,3),new Point(5,3), new Point(5,5) });
     Console.WriteLine(r.ToString());
 }
 public void GetPointBeginTest()
 {
     Point[] p = {new Point(3, 3), new Point(5, 3), new Point(5, 5)};
     Road r = new Road(p);
     Assert.AreEqual(p[0], r.GetPointBegin());
 }