diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-03-27 17:39:58 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-03-27 17:39:58 +0100 |
commit | 3057729f132d516dd9ed58c6964a495aa1c11c3d (patch) | |
tree | 7eca9a03fd08200868a5ab0c27e33170b9dc917a /test-cpp.cpp | |
parent | 5467147d9470ee294ddab938098c3ef172222066 (diff) |
Top-down algo recognizes first C*+ program
Diffstat (limited to 'test-cpp.cpp')
-rw-r--r-- | test-cpp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test-cpp.cpp b/test-cpp.cpp index 2a67b38..47a57f5 100644 --- a/test-cpp.cpp +++ b/test-cpp.cpp @@ -46,7 +46,9 @@ TEST_F(CppTest, preprocessing_tokenize) { } #endif - auto result = cpp.analysis(tokens); + auto nodes = cpp.analysis(tokens); + + ASSERT_EQ(nodes.size(), 44); } #endif |