Пример #1
0
        public void Test1()
        {
            var solution = new LeetCode.P844.A2.Solution();
            var result   = solution.BackspaceCompare("ab#c", "ad#c");

            Assert.True(result);
        }
Пример #2
0
        public void Test5()
        {
            var solution = new LeetCode.P844.A2.Solution();
            var result   = solution.BackspaceCompare("rjhbpvh", "rjh#bpvh");

            Assert.False(result);
        }
Пример #3
0
        public void Test6()
        {
            var solution = new LeetCode.P844.A2.Solution();
            var result   = solution.BackspaceCompare("isfcow#", "isfco#w#");

            Assert.False(result);
        }
Пример #4
0
        public void Test4()
        {
            var solution = new LeetCode.P844.A2.Solution();
            var result   = solution.BackspaceCompare("a#c", "b");

            Assert.False(result);
        }