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.

llm_test.cpp 579B

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