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