Exemple #1
0
 public void Split(string content, char splitChar)
 {
     // We want equivalence with built-in string behavior
     using (var buffer = new StringBuffer(content))
     {
         buffer.Split(splitChar).ShouldAllBeEquivalentTo(content?.Split(splitChar) ?? new string[] { "" });
     }
 }