maybe he use 9.8 because te test is using an iterative algorithm, the problem is stupid
My advice is to stop feeling dissapointed and fork the translation and fix it if you want.
You should not seed anything at all.
Also, for some reason even a working solution may not pass the tests (I suspect it's the absence of seeding inside the fixture, though I can't tell for sure).
Are you seeding inside or outside the loop? The former will lead to resetting the randomizer with each loop generating identical results each time.
You have used 9.8 instead of 9.81, that's the only problem with your solution.
9.8
9.81
Loading collection data...
maybe he use 9.8 because te test is using an iterative algorithm, the problem is stupid
My advice is to stop feeling dissapointed and fork the translation and fix it if you want.
You should not seed anything at all.
Also, for some reason even a working solution may not pass the tests (I suspect it's the absence of seeding inside the fixture, though I can't tell for sure).
Are you seeding inside or outside the loop? The former will lead to resetting the randomizer with each loop generating identical results each time.
You have used
9.8
instead of9.81
, that's the only problem with your solution.