Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    C#:
    test structure are as follows
    Assert.AreEqual(expected, Kata.TitleCase(sampleTitle, sampleMinorWords));
    where Kata.TitleCase should contain 2 arguments (the original title and list of words to check in one string)

    Test cases in test 1 goes fine as expected/sampleTitle/sampleMinorWords are present
    While test 2 and test 3 don't have any sampleTitle, only expected and words list

  • Custom User Avatar

    You have to put it like string.Join(''), as in some other methods you have to write System.X instead of X. Annoying and common on codewars.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution