public void CheckMoreOpenOperands() { var checkEven = new ParandBalancer(); var result = checkEven.CheckParands("(jumble(words.more)"); Assert.AreEqual(result, false); }
public void CheckNullInput() { var checkEven = new ParandBalancer(); var result = checkEven.CheckParands(null); Assert.AreEqual(result, true); }
static void Main(string[] args) { var inputString = "(if (any? x) sum (/1 x))"; var doParands = new ParandBalancer(); var result = doParands.CheckParands(inputString); Console.WriteLine(result); Console.ReadLine(); }