Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Works now, thanks!
Oups! Sorry for the inconvenience:-(
Suffix to gcdi function remained in my keyboard... Fixed (hopefully), if all is OK could you mark the issue as resolved?
I agree, it is hard to understand what author actually expects from us for each function.
This comment is hidden because it contains spoiler information about the solution
Good!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I just tried and saw no problem but as you are the first who tries to pass with Swift could you post your code (mark it as spoiler) and I will give it a try? The
==
operator has been extended to take into account the nature ofreturn
and ofexpected
.Something is not right when testing my solution. It fails for me on one of the test cases, but when I print my solution, it's the same as expected one:
XCTAssertTrue failed - should return [(6, 12), (4, 12), (3, 12)]
convertFracts 1 : XCTAssertTrue failed - should return [(6, 12), (4, 12), (3, 12)]
Log
Result: [(6, 12), (4, 12), (3, 12)]
It it possible == operator fails which makes me fail the test? If I'm not seeing things, my solution is the same as expected one.