public void test5() { Assert.AreEqual(false, AllThatIsOpenMustBeClosed.IsBalanced("Sensei -says no!", "--")); }
public void testNotMatchingButEven() { Assert.AreEqual(false, AllThatIsOpenMustBeClosed.IsBalanced("Sensei [{says no!]}", "[]{}")); }
public void test4() { Assert.AreEqual(true, AllThatIsOpenMustBeClosed.IsBalanced("Sensei says -yes-!", "--")); }
public void test3() { Assert.AreEqual(false, AllThatIsOpenMustBeClosed.IsBalanced("(Sensei [says) no!]", "()[]")); }
public void test2() { Assert.AreEqual(true, AllThatIsOpenMustBeClosed.IsBalanced("(Sensei [says] yes!)", "()[]")); }
public void test1() { Assert.AreEqual(false, AllThatIsOpenMustBeClosed.IsBalanced("(Sensei says no!", "()")); }
public void ParensOnly() { Assert.AreEqual(true, AllThatIsOpenMustBeClosed.IsBalanced("(Sensei says yes!)", "()")); }