Beispiel #1
0
        public void BackspaceCompareTest_1()
        {
            var solution = new _0844_BackspaceStringCompare();

            Assert.IsTrue(solution.BackspaceCompare("ab#c", "ad#c"));
        }
Beispiel #2
0
        public void BackspaceCompareTest_4()
        {
            var solution = new _0844_BackspaceStringCompare();

            Assert.IsFalse(solution.BackspaceCompare("a#c", "b"));
        }
Beispiel #3
0
        public void BackspaceCompareTest_5()
        {
            var solution = new _0844_BackspaceStringCompare();

            Assert.IsTrue(solution.BackspaceCompare("da#c#", "a#c#d"));
        }
Beispiel #4
0
        public void BackspaceCompareTest_2()
        {
            var solution = new _0844_BackspaceStringCompare();

            Assert.IsTrue(solution.BackspaceCompare("ab##", "c#d#"));
        }