Research portable Memory game | Исследовать портируемую игру Память
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
1.7KB

  1. #include <iostream>
  2. #include <string>
  3. #include <vector>
  4. #include "main.h"
  5. #include "memory_Context.h"
  6. int main() {
  7. std::cout
  8. << llm_test_isDigit_digit()
  9. << std::endl
  10. << llm_test_isDigit_notDigit()
  11. << std::endl
  12. << llm_test_strToInt()
  13. << std::endl
  14. ;
  15. std::cout
  16. << memory_test_detectMismatchedItems()
  17. << std::endl
  18. << memory_test_detectMismatchedItems_itemTwice()
  19. << std::endl
  20. << memory_test_detectVictory()
  21. << std::endl
  22. << memory_test_generateConstPlayfield()
  23. << std::endl
  24. << memory_test_hideMatchingItems()
  25. << std::endl
  26. << memory_test_selectItem_1x()
  27. << std::endl
  28. << memory_test_selectItem_2x()
  29. << std::endl
  30. << memory_test_selectItem_3x()
  31. << std::endl
  32. ;
  33. std::cout
  34. << cli_test_exit_e()
  35. << std::endl
  36. << cli_test_exit_exit()
  37. << std::endl
  38. << cli_test_exit_victory()
  39. << std::endl
  40. << cli_test_exit_q()
  41. << std::endl
  42. << cli_test_exit_quit()
  43. << std::endl
  44. << cli_test_goOn()
  45. << std::endl
  46. << cli_test_greetUser()
  47. << std::endl
  48. << cli_test_showHelp_h()
  49. << std::endl
  50. << cli_test_showHelp_help()
  51. << std::endl
  52. << cli_test_selectItem()
  53. << std::endl
  54. << cli_test_promptSecondItemSelection()
  55. << std::endl
  56. << cli_test_reportMatchedItems()
  57. << std::endl
  58. << cli_test_reportMismatchedItems()
  59. << std::endl
  60. << cli_test_reportVictory()
  61. << std::endl
  62. ;
  63. /*
  64. auto c = shell_createContext();
  65. c.cCLI = cli_createContext();
  66. c = shell_launch(c);
  67. std::cout << c.output << std::endl;
  68. while (true) {
  69. std::string line;
  70. getline(std::cin, line);
  71. c.input = line;
  72. c = shell_processInput(c);
  73. if (c.exit) {
  74. break;
  75. }
  76. std::cout << c.output << std::endl;
  77. }
  78. */
  79. }