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.
Java: missing random tests. Also negative numbers are accepted as two's complement OR with
-
sign while only the latter should be accepted according to description.Ruby 3.0 should be enabled.
Ruby 3.0 should be enabled.
Ruby 3.0 should be enabled.
Ruby 3.0 should be enabled.
In JS, the class attributes should be in camel case ( e.firstName and not e.FirstName ).
The description should make clear what is the expected order of the returned array. It's not obvious (order of the first occurrence, second, last?).
Edit: After solving the kata, I guess it's the second occurrence that's used (it's not clear if there may be more than two anyhow).
And how should they be handled then?
(JS) The kata asks to remove duplicates from the original array, which can only be done by pass-by-reference, which, unless I'm mistaken, is not possible for arrays. Am I missing something?
'just wanted to make py3 available for the kata, but I discovered that the whole testing process was actually totally flawed... x(
I updated the python test suite by:
JS and ruby need to be updated yet...
As mentioned below, this kata is plagued by floating point errors.
You should compare floating point values with a threshold.
description should be updated about what is actually considered a word or separated words:
X-RAY
is only one. That matters to know that, depending on the approach the warrior choose.lkspencer, could you please provide test_7(BinaryCalculatorTest) code for Java? I passed 9 tests and failed with this test only.
This comment is hidden because it contains spoiler information about the solution
First of all, I really like this kata. Unfortunately I can't pass it right now in ruby because the random tests for the getvoltage/getresistance methods vary slightly from my solutions at or around the 15th decimal place (a few quadrillionths). That is one precise BBQ! I think the rounding error fix computerguy103 pointed out needs to be implemented in the ruby version so it limits the verification of random tests to 5 decimal places.
Loading more items...