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.
Input size (matrix size and entries size) should be mentioned, because
int
is too small to store diagonal products in general. Overflow doesn't happen in the tests, but this is a big concern in general.This comment is hidden because it contains spoiler information about the solution
I would rather use int[,] instead of jagged arrays while dealing with matrixes...
Really enjoyable kata! Love it.
language: C#
Mention the language when having a problem and the kata has more than one available, please.
2nd round of tests contains erros - there are 3 params in the function instead of 2...
Marking as resolved.
fixed, thanks!
Random tests added. Thanks!
changed, thank you!
Sample tests fail to compile.
Matrices are rectangular, so
int[,]
should be a better type for them.It helped! Now Iam back on the track, thanks guys!
Unfortunately, documentation and materials to support authors are not completely ready yet, but there's some pages which could possibly help you. If you want to create a kata and ensure its good quality, you can read following information:
[TestFixture]
as equivalent ofdescribe
, and[Test]
or similar as equivalent ofit
.I know that all of this is not much of a help, but I think it can give at least some hints or ideas.
Loading more items...