The input size should be lowered or the tests should be changed to use Test.expect + custom array comparator. Error messages like [...] expected to be [1, ..., 900] are terrible, messages like Test passed, value equals [1, ..., 900] take up too much space and provide zero value, and everything is slowed down due to the output size.
Python translation
This seems easier than some of the 8 kyu's I've done.
Ruby translation kumited :) please review and approve ~~
"already approved some time ago"
The input size should be lowered or the tests should be changed to use
Test.expect
+ custom array comparator. Error messages like[...] expected to be [1, ..., 900]
are terrible, messages likeTest passed, value equals [1, ..., 900]
take up too much space and provide zero value, and everything is slowed down due to the output size.There's a note in the description on how to handle such situation.
Hi, I made a C# translation for this Kata, please review and approve.
It's possible for the random tests to generate two of the same number.
Since this chance is significantly slim on its own, this case should be tested explicitly as an edge case or removed from the random tests entirely.
I edited that for the author. cheers!
This comment is hidden because it contains spoiler information about the solution