Exemple #1
0
        private void AssertCheckRefPointResults(PointF startPoint, PointF refPoint, PolarCoordinate expectedResult)
        {
            // ACT
            var newPoint = startPoint.Offset(refPoint, 3);
            var actual   = newPoint.GetPolarCoord();

            // ASSERT
            Assert.IsTrue(expectedResult.Equals(actual), $"{expectedResult} <> Actual result: {actual}");
        }