public void Add_GivenTwoNumbersSeperatedByComma_ShouldReturnTheirSum()
 {
     //---------------Set up test pack-------------------
     const string input = "1,2";
     const int expected = 3;
     var cal = new Calculator();
     //---------------Assert Precondition----------------
     //---------------Execute Test ----------------------
     var actual = cal.Add(input);
     //---------------Test Result -----------------------
     Assert.AreEqual(expected,actual);
 }
 public void Add_GivenNewLineBetweenNumbers_ShouldReturnSum()
 {
     //---------------Set up test pack-------------------
     const string input = "1\n2,3";
     const int expected = 6;
     var cal = new Calculator();
     //---------------Assert Precondition----------------
     //---------------Execute Test ----------------------
     var actual = cal.Add(input);
     //---------------Test Result -----------------------
     Assert.AreEqual(expected, actual);
 }
 public void Add_GivenAnyNumber_ShouldReturnThatNumber()
 {
     //---------------Set up test pack-------------------
     const string input = "1";
     const int expected = 1;
     var cal = new Calculator();
     //---------------Assert Precondition----------------
     //---------------Execute Test ----------------------
     var actual = cal.Add(input);
     //---------------Test Result -----------------------
     Assert.AreEqual(expected,actual);
 }