public void SampleTests(string expected, string[] inputString) { var Kata = new SumStringsAsNumbers(); var actual = Kata.sumStrings(inputString[0], inputString[1]); Assert.AreEqual(expected, actual); }
public void Given123And456Returns579() { Assert.AreEqual("579", SumStringsAsNumbers.sumStrings("123", "456")); }
public void Given967And53Returns1020() { Assert.AreEqual("1020", SumStringsAsNumbers.sumStrings("967", "53")); }
public void Given155And55Returns210() { Assert.AreEqual("210", SumStringsAsNumbers.sumStrings("155", "55")); }
public void Given111And11Returns122() { Assert.AreEqual("122", SumStringsAsNumbers.sumStrings("111", "11")); }
public void Test(string a, string b, string expected) { Assert.Equal(expected, SumStringsAsNumbers.sumStrings(a, b)); }