Ad
  • Default User Avatar

    This would solve issues with empties created from splits on pesky spaces, but doesn't handle the scenario where the string ONLY contains a space (which isn't eleminated as a possibility in the brief), which would result in Min failing due to no elements in the sequence.

    Assert.AreEqual(0, Kata.FindShort(" "));