public void Div_4Divided2_Expect2() { TDD_Samples.Calc c = new TDD_Samples.Calc(); double r = c.Div(4, 2); Assert.AreEqual(r, 2); }
public void Div_DividedBy0_ExpectException() { TDD_Samples.Calc c = new TDD_Samples.Calc(); int r = c.Div(2, 0); }