Apply formating to all files. CLeanup

This commit is contained in:
IlyaShurupov 2023-10-22 17:07:28 +03:00
parent 43e374f269
commit 744c01c5d0
928 changed files with 14515 additions and 21480 deletions

View file

@ -1,7 +1,7 @@
#include "NewPlacement.hpp"
#include "Testing.hpp"
#include "Parser.hpp"
#include "Testing.hpp"
using namespace tp;
@ -40,9 +40,10 @@ List : [ LIST ];
TEST_ASSERT(sentences.first()->data.terms.length() == 1);
TEST_ASSERT(sentences.last()->data.terms.length() == 1);
TEST(sentences.first()->data.terms.first()->data.id == "Function");
TEST(sentences.first()->data.terms.first()->data.id == "Function");
TEST(sentences.last()->data.terms.first()->data.id == "LIST");
printf("Example sentences formed from grammar: \n");
for (auto sentence : sentences) tp::CfGrammar::printSentence(sentence.data());
for (auto sentence : sentences)
tp::CfGrammar::printSentence(sentence.data());
}