Пример #1
0
 public void TestFixNegative150DegreesAngle()
 {
     Assert.Equal(210.0, AngleMath.FixDegreesAngle(-150.0), 5);
 }
Пример #2
0
 public void TestFixPositive450DegreesAngle()
 {
     Assert.Equal(90.0, AngleMath.FixDegreesAngle(450.0), 5);
 }
Пример #3
0
 public void TestFixNegative420DegreesAngle()
 {
     Assert.Equal(300.0, AngleMath.FixDegreesAngle(-420.0), 5);
 }