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.
Same here
signature [1.8190803733637595, 10.32113085317588, 2.4538921407466985]
It should work with random inputs too: arrays first differed at element [25]; expected:<9145259.517695228> but was:<9145259.51769523>
signature [4.523989247754125, 4.4306407266327845, 2.9433070582317944]
It should work with random inputs too: arrays first differed at element [21]; expected:<602130.3478075289> but was:<602130.3478075288>
signature [1.218691787383328, 7.628302847784772, 14.623238617452863]
It should work with random inputs too: arrays first differed at element [20]; expected:<778388.1052085671> but was:<778388.105208567>
done
I thought it's obvious that you can't iterate backwards if you dont have random access property or don't know length (or cant slice), and i think it's a spoiler (kind of), but i put in description, thank you.
I didnt say that
Table.data
is iterator. Iterator is whatTable.walk()
should return.How should i test it?
Oh, i see. Added test for this. Thank you.
Interesting. Since i added more random tests and widen random range, I believe its now imposible to guess solution (eight numbers) by chance (maybe still possible by intercepting randomizer state?)
thank you
Added more random tests
Added tests for edge cases
I'm afraid dimensions of length 0 will overcomplicate this already complicated (for me) kata,
[]
and[[]]
and[[],[]]
is valid tables but need many tests to cover.Put a note about in description.
I dont see how this might work, any code that redefines them wont pass any of
simple tests
(except obviously first two tests)done
Thank you.
[Clojure]
Run tests: ok
Submit: java.lang.RuntimeException: Unable to resolve symbol: ft in this context, compiling:(null:24:30)
whole stacktrace https://gist.github.com/anonymous/82dbad1be4b80a4141cab11ea2dbe847