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.

40 lines
597B

  1. #include <map>
  2. #include <string>
  3. #include <vector>
  4. #include "ctx.h"
  5. #include "llm.h"
  6. #include "memory_Context.h"
  7. #include "main.h"
  8. std::string llm_test_isDigit_digit(
  9. ) {
  10. if (
  11. llm_isDigit("123")
  12. ) {
  13. return "OK: llm_isDigit_digit";
  14. }
  15. return "ERR: llm_isDigit_digit";
  16. }
  17. std::string llm_test_isDigit_notDigit(
  18. ) {
  19. if (
  20. llm_isDigit("abc")
  21. ) {
  22. return "ERR: llm_isDigit_notDigit";
  23. }
  24. return "OK: llm_isDigit_notDigit";
  25. }
  26. std::string llm_test_strToInt(
  27. ) {
  28. if (
  29. llm_strToInt("123") == 123
  30. ) {
  31. return "OK: llm_strToInt";
  32. }
  33. return "ERR: llm_strToInt";
  34. }