Esempio n. 1
0
        public void FindUniqChar_WitNullArg_Test()
        {
            // arrange
            string str  = "abhcir";
            string str2 = null;

            string expected = "abchir";

            // act
            string result = FindUniqChar.Exec(str, str2);

            // assert
            Assert.AreEqual(expected, result);
        }
Esempio n. 2
0
        public void FindUniqChar_TwoArgs_Test()
        {
            // arrange
            string str  = ("abhcir");
            string str2 = ("hi");

            string expected = "abchir";

            // act
            string result = FindUniqChar.Exec(str, str2);

            // assert
            Assert.AreEqual(expected, result);
        }