Ejemplo n.º 1
0
        public void JoinWithComma_JoinsStringsWithComma()
        {
            var strings = new[] {"one", "two", "three"};

            strings.JoinWithComma().Should().Be("one,two,three");
        }
Ejemplo n.º 2
0
        public void JoinWithCommaAndaddedSpace_JoinsStringsWithComma()
        {
            var strings = new[] { "one", "two", "three" };

            strings.JoinWithComma(StringJoinOptions.AddSpaceSuffix).Should().Be("one, two, three");
        }