Research portable Memory game | Исследовать портируемую игру Память
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Memory.Test.swift 337B

7 달 전
7 달 전
7 달 전
1234567891011121314
  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. }