From 3057729f132d516dd9ed58c6964a495aa1c11c3d Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 27 Mar 2020 17:39:58 +0100 Subject: Top-down algo recognizes first C*+ program --- test-cpp.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test-cpp.cpp') 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 -- cgit v1.2.3