public void TestSomar()
 {
     Assert.AreEqual(4, _calc.Somar(2, 2));
 }
 public void TestSomarComException()
 {
     Util.Calculadora calcWithException = new Util.Calculadora(2);
     calcWithException.Somar(1, 1);
 }
Exemplo n.º 3
0
 public void TesteSomar()
 {
     Assert.Equal(8, _calc.Somar(4, 4));
 }