public void ZeroExeption() { ParseTreeClass checkTree = new ParseTreeClass("(/ 8 0)"); checkTree.CalculateAll(); }
public void Initialize() { tree = new ParseTreeClass("(-(+ 5 5)(* 7 1))"); }
public void WrongSymbolExeption() { ParseTreeClass checkTree = new ParseTreeClass("(/ 8 k)"); checkTree.CalculateAll(); }
public void EmptyExeption() { ParseTreeClass checkTree = new ParseTreeClass(""); checkTree.CalculateAll(); }