Exemple #1
0
 public void GetPoint(string cps, double radius, double offset, double angle, string expected)
 {
     var centre = cps.AsPoint();
     var arc = new Arc(centre, 0, 0, radius, false);
     var actual = arc.GetPoint(angle, offset);
     Assert.AreEqual(expected, actual.ToString("F0"));
 }