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.
Everything you said should be done, I think, thx.
My Discord is Evgeny#4670, btw
Can you make
lengthOfWord
to generate maximum 16 characters only?And the list of characters generated should be lowercase only to acheive consistency with most languages
And the sample and fixed tests should follow other languages as well
PS: Do you have discord, we can chat there on translation approval stuffs and what not ~~ (If so, you can join Codewars discord and ping a msg there on #reviewing channel)
Cheers!
In Java, the singleArg test is not working because it is testing a String instead of testing an array of String...
Tests do not execute properly because of some syntax error on their implementation.
Test Cases for Ruby translation are completely broken, didn't really want to spend the time and energy to debug, but I'm about 99% sure the problem is in the third line of the test cases.
the
singleArg
test case is brokenHey, there is one thing to correct in Ruby version's tests. In the
expected
, I have changed to the following argument so the test could work!greeting_for_all_friends(["Bilal"]).nil?
correct tests in java please
Testcase for singleArg ist not possible for Java due to return-type.
For Ruby, the "expect" test in the provided Tests has syntax errors.
The message is self-explanatory. You did not define the "index" variable.
function greetingForAllFriends(friends){
if(friends[index]!==null && friends!==null){
return("Hello, "+""+friends+"!")// ...
}
else {return null}}
say's index is not defined in the function???
error in java test case
Third test case on Ruby seems to have an issue
Tests should contain next check: if array isn't containing valid strings greeting function should return null
Loading more items...