void fluid_should_setSeparateByDelimiter()
        {
            var tab = new PlainTextTable();

            tab.SeparateBy("TEST");

            Assert.Equal("TEST", tab.ColumnSeparator);
        }
        void render_should_writeSpacePipeSpaceDelimitedTable()
        {
            var tab = new PlainTextTable(create_test_data());

            tab.SeparateBy(" | ");

            var result = tab.ToString();

            output.WriteLine(result + "EOM");

            string expected = @"Col A | Col B | Col C    
R1-A  | R1-B  | R1-C     
R2-A  | R2-B  | R2-C long
R3-A  | R3-B  | R3-C     
";

            Assert.Equal(expected, result);
        }
        void render_should_writeAlignedColumnsAndTrimTrailingWhite()
        {
            var tab = new PlainTextTable(create_test_data());

            tab.SeparateBy("|");
            tab.Align('l', 'r', 'm');
            tab.TrimTrailingSpace(true);

            var result = tab.ToString();

            output.WriteLine(result + "EOM");

            string expected = @"Col A|Col B|  Col C
R1-A | R1-B|  R1-C
R2-A | R2-B|R2-C long
R3-A | R3-B|  R3-C
";

            Assert.Equal(expected, result);
        }