public void Can_implicitly_create_by_assigning_to_string_and_vice_versa() { PipeDelimUpper cd = "AB||cDeF||a"; // the reason I assing CD to a strin[] below, is to avoid // fluentassertions testing the getEnumerator // ...we have a separate test for that below. // I want to test 1 thing at a time in a unit test. string[] cd2 = cd; cd2.Should().BeEquivalentTo(new[] { "AB", "", "CDEF", "", "A" }); }
public void Tostring_returns_pipe_seperated() { PipeDelimUpper cd = "12 3| aB | 6"; cd.ToString().Should().Be("12 3|AB|6"); }
public PipeUpperCat(PipeDelimUpper kittens) { Kittens = kittens; }