#include #include #include #include "ctx_test2.h" #include "main.h" #include "memory_Context.h" int main() { std::cout << test_ctx_Controller_executeFunctions_set() << std::endl << test_ctx_Controller_processQueue() << std::endl << test_ctx_Controller_registerFieldCallback_match() << std::endl << test_ctx_Controller_registerFieldCallback_mismatch() << std::endl << test_memory_Context_field() << std::endl << test_memory_Context_setField() << std::endl << llm_test_isDigit_digit() << std::endl << llm_test_isDigit_notDigit() << std::endl << llm_test_strToInt() << std::endl ; std::cout << memory_test_detectMismatchedItems() << std::endl << memory_test_detectMismatchedItems_itemTwice() << std::endl << memory_test_detectVictory() << std::endl << memory_test_generateConstPlayfield() << std::endl << memory_test_hideMatchingItems() << std::endl << memory_test_selectItem_1x() << std::endl << memory_test_selectItem_2x() << std::endl << memory_test_selectItem_3x() << std::endl ; std::cout << cli_test_exit_e() << std::endl << cli_test_exit_exit() << std::endl << cli_test_exit_victory() << std::endl << cli_test_exit_q() << std::endl << cli_test_exit_quit() << std::endl << cli_test_goOn() << std::endl << cli_test_greetUser() << std::endl << cli_test_showHelp_h() << std::endl << cli_test_showHelp_help() << std::endl << cli_test_selectItem() << std::endl << cli_test_promptSecondItemSelection() << std::endl << cli_test_reportMatchedItems() << std::endl << cli_test_reportMismatchedItems() << std::endl << cli_test_reportVictory() << std::endl ; /* auto c = shell_createContext(); c.cCLI = cli_createContext(); c = shell_launch(c); std::cout << c.output << std::endl; while (true) { std::string line; getline(std::cin, line); c.input = line; c = shell_processInput(c); if (c.exit) { break; } std::cout << c.output << std::endl; } */ }