public void ReadonlyMemoryTest() { ReadOnlyMemory <string> source = ExpectedString.Split(' '); var actual = source.ToStringBuilder('\t'); actual.Is(ExpectedString, " ", "\t"); actual = source.ToStringBuilder("ばらし"); actual.Is(ExpectedString, " ", "ばらし"); }
public void ReadOnlyMemoryTest() { ReadOnlyMemory <char> source = ExpectedString.ToCharArray(); var actual = source.ToStringBuilder(); actual.Is(ExpectedString); }