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.

54 lines
1.1KB

  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. << memory_test_detectMismatchedItems()
  9. << std::endl
  10. << memory_test_detectMismatchedItems_itemTwice()
  11. << std::endl
  12. << memory_test_detectVictory()
  13. << std::endl
  14. << memory_test_generateConstPlayfield()
  15. << std::endl
  16. << memory_test_hideMatchingItems()
  17. << std::endl
  18. << memory_test_selectItem_1x()
  19. << std::endl
  20. << memory_test_selectItem_2x()
  21. << std::endl
  22. << memory_test_selectItem_3x()
  23. << std::endl
  24. ;
  25. /*
  26. std::cout
  27. << cli_test_greetUser()
  28. << std::endl
  29. << cli_test_showHelp_h()
  30. << std::endl
  31. << cli_test_showHelp_help()
  32. << std::endl
  33. ;
  34. auto c = shell_createContext();
  35. c.cCLI = cli_createContext();
  36. c = shell_launch(c);
  37. std::cout << c.output << std::endl;
  38. while (true) {
  39. std::string line;
  40. getline(std::cin, line);
  41. c.input = line;
  42. c = shell_processInput(c);
  43. if (c.exit) {
  44. break;
  45. }
  46. std::cout << c.output << std::endl;
  47. }
  48. */
  49. }