public void BaseFunctionTest() { Summation sum = new Summation(); double expected = 5; double actual = sum.Execute(2, 3); Assert.AreEqual(expected, actual); }
public void NullArgsTest() { Summation sum = new Summation(); Assert.Catch <NotEnoughArgsException>(() => sum.Execute()); }