Beispiel #1
0
 public void TestAddTowards()
 {
     Assert.AreEqual(.1, FinMath.AddTowards(0, 1, .1));
     Assert.AreEqual(.9, FinMath.AddTowards(1, 0, .1));
     Assert.AreEqual(1, FinMath.AddTowards(0, 1, 1.1));
 }