示例#1
0
 public void fr2DivideZero()
 {
     var calculo = new Calculo("0", "2", "50");
     Assert.AreEqual(calculo.formulaResolvente_x2(), double.NegativeInfinity);
 }
示例#2
0
 public void testeFR2()
 {
     var calculo = new Calculo("1", "2", "-3");
     Assert.AreEqual(calculo.formulaResolvente_x2(), -3);
 }
示例#3
0
 public void testeInicial4()
 {
     var calculo = new Calculo("5", "2", "1");
     Assert.AreNotEqual(calculo.formulaResolvente_x2(), 2);
 }
示例#4
0
 public void FR2raizNegativa()
 {
     var calculo = new Calculo("2", "2", "50");
     Assert.AreEqual(calculo.formulaResolvente_x2(), double.NaN);
 }