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.
Python new test framework should be used (Refer this for more detail)
I made the same mistake, I thought it meant they could play at least once and checked for playing and rejected if they did not play with every other player.
x)
;)
Whenever I come across this I just post this pic (it's worth a thousand words):
test to add:
[['AA']] => False
nope not resolved at all. What you did is only use more hardcoded tests: they are all fixed. That's what hard coded means.
Random tests have to be generated... randomly... on the fly. Different for each tests.
And here is what I did: as you can see, I commented out MOST of the conditions and my solution still passes the tests. So you should take it as a base, uncommenting/commenting out the different parts to catch test cases that make it fail for each commented out condition (EDIT: some conditions are crossing each others, though. I have a bit of overchecking, in there)
Then, you will be able to see how you generate the random tests.
resolved I think
What do you mean by hardcoded? As in that the user can't see?
as long as you do provide tests that return True and others that return false and that aren't hardcoded, that's good. ;)
I misunderstood what a random test was, I thought they would randomly generate themselves. I definitely could use more tests. I just added more tests and will add some more when I get a chance
Thanks for the feedback!
permutations of columns, and rows, and characters in the strings, and replacing charcters by different sets. All of that using the current set of tests. Nothing difficult about that. ;)
http://mathworld.wolfram.com/KirkmansSchoolgirlProblem.html
I'm not sure how this would work, because valid solutions are extremely difficult to come up with. The math behind that is well out of my league. I would like to add a solution where V is higher than 15 but I'm having a tough time generating even one of those.
done, thank you
Needs random tests
Please populate the initial code section ;-)
Loading more items...