Ad
  • Custom User Avatar

    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 and motto properties, limiting the options for solving the kata.

  • Custom User Avatar

    So maybe you list houses and their mottos for everyone else?