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.

15 lines
337B

  1. func test_memory_generateConstPlayfield() -> String {
  2. let idGroups = memory_generateConstPlayfield(2)
  3. if (
  4. idGroups.count == 4 &&
  5. idGroups[0] == 0 &&
  6. idGroups[1] == 0 &&
  7. idGroups[2] == 1 &&
  8. idGroups[3] == 1
  9. ) {
  10. return "OK: memory_generateConstPlayfield"
  11. }
  12. return "ERR: memory_generateConstPlayfield"
  13. }