Пример #1
0
        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);
        }
Пример #2
0
        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);
        }