public void AddTwoStringsBadInput() { string input1 = "1"; string input2 = "kjwjrjkrjkerjk"; Addition operation_class = new Addition(); operation_class.AddStrings(input1,input2); // This is not an Assert }
public void CanAddTwoStringsGoodInput() { string input1 = "2"; string input2 = "1"; int expected = 3; Addition operation_class = new Addition(); Assert.AreEqual(expected, operation_class.AddStrings(input1, input2)); }