Research portable Memory game | Исследовать портируемую игру Память
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

40 líneas
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. }