From e8fdf4cdd29dae01e1863aa3f3acde1eeda4290b Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Thu, 24 Oct 2013 21:33:00 -0700 Subject: [PATCH] Tokenizer:simplifyMathExpressions: added more testcases. --- test/testtokenize.cpp | 55 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/test/testtokenize.cpp b/test/testtokenize.cpp index 64d7a770d..5a71f1cf4 100644 --- a/test/testtokenize.cpp +++ b/test/testtokenize.cpp @@ -9801,6 +9801,61 @@ private: "}"; ASSERT_EQUALS(code4, tokenizeAndStringify(code4)); + const char code5[] = "void foo() {\n" + " std::cout<