Ejemplo n.º 1
0
 public void Test_Square_Root()
 {
     Assert.AreEqual(3, MathFunctions.SquareRoot(12), 1);
 }
Ejemplo n.º 2
0
 public void Test_Double_Sum()
 {
     Assert.AreEqual(19.1, MathFunctions.Sum(12.5, 6.6));
 }
Ejemplo n.º 3
0
 public void Test_Decimal_Sum()
 {
     Assert.AreEqual(19M, MathFunctions.Sum(12.5M, 6.5M));
 }
Ejemplo n.º 4
0
 public void Test_Int_Sum()
 {
     Assert.AreEqual(18, MathFunctions.Sum(12, 6));
 }