예제 #1
0
파일: Test.cs 프로젝트: ch200c/leetcode-cs
        public void Test1()
        {
            var solution = new LeetCode.P844.A2.Solution();
            var result   = solution.BackspaceCompare("ab#c", "ad#c");

            Assert.True(result);
        }
예제 #2
0
파일: Test.cs 프로젝트: ch200c/leetcode-cs
        public void Test5()
        {
            var solution = new LeetCode.P844.A2.Solution();
            var result   = solution.BackspaceCompare("rjhbpvh", "rjh#bpvh");

            Assert.False(result);
        }
예제 #3
0
파일: Test.cs 프로젝트: ch200c/leetcode-cs
        public void Test6()
        {
            var solution = new LeetCode.P844.A2.Solution();
            var result   = solution.BackspaceCompare("isfcow#", "isfco#w#");

            Assert.False(result);
        }
예제 #4
0
파일: Test.cs 프로젝트: ch200c/leetcode-cs
        public void Test4()
        {
            var solution = new LeetCode.P844.A2.Solution();
            var result   = solution.BackspaceCompare("a#c", "b");

            Assert.False(result);
        }