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.
|
- #include <string>
- #include "Memory.h"
-
- std::string test_memory_generateConstPlayfield() {
- std::map<int, int> idGroups = memory_generateConstPlayfield(2);
- if (
- idGroups.size() == 4 &&
- idGroups[0] == 0 &&
- idGroups[1] == 0 &&
- idGroups[2] == 1 &&
- idGroups[3] == 1
- ) {
- return "OK: memory_generateConstPlayfield";
- }
-
- return "ERR: memory_generateConstPlayfield";
- }
|