예제 #1
0
        public void ScobkiError()
        {
            Scobki scobki = new Scobki("{ }");

            scobki.AnalisScobki();

            Assert.AreEqual(0, 1);
        }
예제 #2
0
        static void Main(string[] args)
        {
            Note note = new Note();

            string s = "(8+3)-(5+1)";

            note.ConvertToPostfixNotation(s);
            Console.WriteLine(note.result(s));

            Scobki scobki = new Scobki("({a+b}-[c+d])");

            scobki.AnalisScobki();

            Console.ReadKey();
        }