コード例 #1
0
 public void TestSomar()
 {
     Assert.AreEqual(4, _calc.Somar(2, 2));
 }
コード例 #2
0
 public void TestSomarComException()
 {
     Util.Calculadora calcWithException = new Util.Calculadora(2);
     calcWithException.Somar(1, 1);
 }
コード例 #3
0
 public void TesteSomar()
 {
     Assert.Equal(8, _calc.Somar(4, 4));
 }