Example #1
0
        public void WellFormed()
        {
            const string s = "()";

            Assert.IsTrue(StringAlgorithms.WellFormed(s));
        }
Example #2
0
        public void MalFormed2()
        {
            const string s = "(";

            Assert.IsFalse(StringAlgorithms.WellFormed(s));
        }