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.
Language?
The test cases in Haskell simply generate a list of random words.
I created simple test cases.
import org.junit.Assert;
import org.junit.Test;
public class TestCaffeineBuzz {
@Test
public void testOutputJava() {
Assert.assertEquals("Java", CaffeineBuzz.caffeineBuzz(3));
}
}
The test cases people contributed for Haskell, and particularly Java are a bit strange. The original kata is string in, string out. I think following that model might help you with the Java test cases.