public void Test_GetStringWithCommonChars1_IsEmpty() { Q3 objInterview = new Q3(); char[] ch1 = "".ToCharArray(); char[] ch2 = "".ToCharArray(); string expected = ""; string actual = objInterview.GetStringWithCommonChars1(ch1, ch2); Assert.AreEqual(actual, expected); }
public void Test_GetStringWithCommonChars1_IsNull() { Q3 objInterview = new Q3(); char[] ch1 = null; char[] ch2 = null; string expected = ""; string actual = objInterview.GetStringWithCommonChars1(ch1, ch2); Assert.AreEqual(actual, expected); }