public void DivideOfTwoNumbers() { var subject = new PracticeCSharp.Math(); var actual = subject.Divide(10, 2); Assert.AreEqual(5, actual); }
public void SumOfTwoNumbers() { var subject = new PracticeCSharp.Math(); var actual = subject.Sum(5, 10); Assert.AreEqual(15, actual); }
public void SumTable() { var integersTable = new List <int> { 1, 2, 3 }; var subject = new PracticeCSharp.Math(); var actual = subject.SumTable(integersTable); Assert.AreEqual(6, actual); }