Ad
  • Custom User Avatar

    your logic is worng: what about n=1?

  • Custom User Avatar

    Passing every single test except ONE in RandomTest/Tests Random Diamonds, 4th from last (just before 49). I get

    XCTAssertEqual failed: ("Optional("*\n")") is not equal to ("nil") -
    which makes no sense because I return nil the second the size parameter is even or < 3. I can't see what the test case is doing so there's no way for me to understand what's going on. Using Swift 4.
  • Custom User Avatar

    Please add Swift 4 support. Thanks!