public static bool DetailDebugQuery(PostFix postfix, string equation, string expectedOutput)
        {
            try
            {
                string pfEquation            = postfix.ConvertToPostfix(equation);
                string inFixModifiedEquation = postfix.ConvertToInfix(pfEquation);

                Console.WriteLine("Equation:   " + equation);
                Console.WriteLine("PostFix:    " + pfEquation);
                Console.WriteLine("InFix:      " + inFixModifiedEquation);
                //Console.WriteLine();

                string answer = postfix.CalculatePostFix(pfEquation);
                Console.WriteLine("Calculated: " + answer);
                if (expectedOutput == answer)
                {
                    Console.WriteLine("Correct");
                    return(true);
                }
                else
                {
                    Console.WriteLine("Failed");
                    return(false);
                }
            }
            catch (InvalidOperandException ex)
            {
                Console.WriteLine(String.Format("InvalidOperandException caught: {0}", ex.Message));
            }
            catch (InvalidVariableException ex)
            {
                Console.WriteLine(String.Format("InvalidVariableException caught: {0}", ex.Message));
            }
            catch (InvalidEquationException ex)
            {
                Console.WriteLine(String.Format("InvalidVariableException caught: {0}", ex.Message));
            }

            return(false);
        }