Tried this kata in java and failed miserably in 2 out of 3 test in attempts and can't understand what have I done wrong.
Copied the code into "Valid Braces" cata, renamed methods and passed all tests from first attempt. WTF?
I got this error as well. Reading the description, it says that the number of iterations is an optional parameter and should default to 100. After making that change, the error disappears.
I've got the following error: run': wrong number of arguments (4 for 5) (ArgumentError) from block (2 levels) in
'
from times' from block in
'
from block in describe' from measure'
from describe' from describe'
from `
'
just by launching empty scaffold.
And I wonder what signature does "fitness" method has: is it expecting an integer or a string? And if it's an integer, then in what format, like powers of tens or powers of twos?
Fixed
Tried this kata in java and failed miserably in 2 out of 3 test in attempts and can't understand what have I done wrong.
Copied the code into "Valid Braces" cata, renamed methods and passed all tests from first attempt. WTF?
I've been using strings
I got this error as well. Reading the description, it says that the number of iterations is an optional parameter and should default to 100. After making that change, the error disappears.
I've got the following error:
run': wrong number of arguments (4 for 5) (ArgumentError) from
block (2 levels) in'
from
times' from
block in'
from
block in describe' from
measure'from
describe' from
describe'from `
'
just by launching empty scaffold.
And I wonder what signature does "fitness" method has: is it expecting an integer or a string? And if it's an integer, then in what format, like powers of tens or powers of twos?