diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-03-31 18:46:49 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-03-31 18:46:49 +0200 |
commit | cd6c436cb70c4323c7d14ebd74f89bb0914649f2 (patch) | |
tree | 1bdb2a8409b2b370bcaa5e1b6cf091c0c8e1f779 /test-cpp.cpp | |
parent | bed46a062c442656b1bc16d965e12405297029d3 (diff) |
Optimization: Replace head recursion by tail recursion in matching
Diffstat (limited to 'test-cpp.cpp')
-rw-r--r-- | test-cpp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-cpp.cpp b/test-cpp.cpp index 8a9b7cb..e5b2a1a 100644 --- a/test-cpp.cpp +++ b/test-cpp.cpp @@ -42,7 +42,7 @@ TEST_F(CppTest, preprocessing_tokenize) { auto nodes = cpp.analysis(tokens); - ASSERT_EQ(nodes.size(), 44); + ASSERT_EQ(nodes.size(), 60/*44*/); } TEST_F(CppTest, preprocessing_tokenize_compile_error) { |