Beta
Fiber Optic Network
Loading description...
Algorithms
Lists
Graph Theory
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Trying this kata... IMHO VERY strange to return a C++ nice structure; and to pass a C-like [] etc... a vector<tuple <x,y,z>> would be great :-)
Missing random tests ;-)
Sample tests relies on the existence of
using namespace std;
in user code to work.The image in the description is dead.
Sorry for the late response, I'll try to upload the image again.
2 years later, still no image =/
Nice kata with a classic problem.
You might want to consider using the full power of the test frameword (i.e. Igloo / Snowhouse). Put this into the "Preloaded" section:
and change
Assert::That(expected == actual);
toAssert::That(actual, Equals(expected));
to get more helpful output for failed tests.Hi siebenschlaefer, thank you for you suggestion!
It was really appreciated!
I saw you edited the kata, is it necessary any approval?
No approval needed. (You checked "Allow Contributors" and since my edit did not change the kata's essence I felt safe to apply it.) Thanks for this nice kata.