예제 #1
0
        public void CanGetPoint()
        {
            var line = new Line2D(3, 1);

            Assert.AreEqual(new Point2D(1, 4), line.GetPoint(1));
            Assert.AreEqual(new Point2D(10, 31), line.GetPoint(10));
        }
예제 #2
0
 public void CanGetPoint()
 {
     var line = new Line2D(3, 1);
     Assert.AreEqual(new Point2D(1, 4), line.GetPoint(1));
     Assert.AreEqual(new Point2D(10, 31), line.GetPoint(10));
 }