public void Test2() { string input = "a[(3+2)*3"; Assert.AreEqual(false, Opgave1.CheckParenthesis(input)); }
public void Test1() { string input = "a[(3+2)*3]"; Assert.AreEqual(true, Opgave1.CheckParenthesis(input)); }
public void TestTabs() { string input = "\t\t"; Assert.AreEqual(true, Opgave1.CheckParenthesis(input)); }
public void TestNull() { string input = null; Assert.AreEqual(true, Opgave1.CheckParenthesis(input)); }
public void TestSpaces() { string input = " "; Assert.AreEqual(true, Opgave1.CheckParenthesis(input)); }