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.
I have the same problem. The year, month and day are not treated as separate columns.
From the comments I had the feeling that is not possible to solve this Kata. But Mr. Google, the Postgre docu and a little simple logic makes it easy... :-)
You're not returning the totals. For example, instead of
you only return
There's a certain language feature which lets you easily generate these.
Is any possibility to format the part of question as the code?
This comment is hidden because it contains spoiler information about the solution
It doesn't.
This comment is hidden because it contains spoiler information about the solution
Please mark your post as having spoiler content next time. You have the arguments of your second method flipped.
This comment is hidden because it contains spoiler information about the solution
To be more precise, can you poste in git flavored markdown, tell me the language and the specific test you are mentioning?
Ok, why:
test_basicCases - OK
Backstage passes to a TAFKAL80ETC concert, sellIn=15, quality=20
Backstage passes to a TAFKAL80ETC concert -> quality=21
test_edgeCasesOneDay - FAILED
Backstage passes to a TAFKAL80ETC concert, sellIn=11, quality=20
Backstage passes to a TAFKAL80ETC concert -> quality=21
Which condition wasn't fulfiled?
Thanks
Mh, probably no.
Why is test for "Backstage passes to a TAFKAL80ETC concert", sellIn=11, quality=20 failed? The test expects sellIn=10, quality=22 but according to requirements should be there sellIn=10, quality=21. Am I right?