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.
Sure, my foul
This isn't possible in any current version of C#.
2^31 = 2147483648
(DateTime.MaxValue - DateTime.MinValue).TotalDays = 3652059 (less than 2^31)
cycleLength is int, which has a max value of 2147483647 (less than 2^31)
There is no possible way to pass this method values that will cause the error you describe.
This comment is hidden because it contains spoiler information about the solution
Marking as resolved.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks, updated.
Thanks, updated.
assert.strictEqual
should be usedDescription should remove the function name to make it language agnostic
This is not a correct way to perform a random number of loop iterations. Also, whenever possible, the number of tests shouldn't be randomized at all.
I've updated the description to specify that the number of matches played between Alice and Bob is always equal. I've added some more random tests with different number of overall games played.
Loading more items...