public void Can_implicitly_create_by_assigning_to_string_and_vice_versa()
        {
            PipeDelim 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" });
        }
Example #2
0
 public PipeCat(PipeDelim kittens)
 {
     Kittens = kittens;
 }