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.
I appreciate the list of names and mottos being added. Where you say "no more confusion around whether or not case is relevant", what do you mean? Your example says that
motto("Tyrell")
should return "growing strong" but your test expects "Growing Strong" and fails if you supply it with the string in your example.It also remains true that your comment "You can still implement the method however you want, as long as motto(str) returns the correct string" is misleading. Your tests explicitly test for the length of the array and that its elements have
name
andmotto
properties, limiting the options for solving the kata.So maybe you list houses and their mottos for everyone else?