public void Tostring_returns_comma_seperated() { CommaDelimUpper cd = "AB,cDeF,,a"; cd.Should().BeEquivalentTo(new[] { "AB", "CDEF", "", "A" }); cd.ToString().Should().Be("AB,CDEF,,A"); }
public void Empty_items_are_returned_as_empty_strings() { CommaDelimUpper cd = "AB,,cDeF,,a"; cd.Should().BeEquivalentTo(new[] { "AB", "", "CDEF", "", "A" }); cd.ToString().Should().Be("AB,,CDEF,,A"); }