Exemple #1
0
        public void CollapseDuplicates_TestCase6()
        {
            string actual   = CollapseDuplicates.Solution("a");
            string expected = "a";

            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
        public void CollapseDuplicates_TestCase1()
        {
            string actual   = CollapseDuplicates.Solution("abbbcaaaccc");
            string expected = "abcac";

            Assert.AreEqual(expected, actual);
        }