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

            tab.Align(2, 'r');

            Assert.Equal(Alignment.Right, tab.Alignments[2]);
        }
        void fluid_should_setAlignmentsByString()
        {
            var tab = new PlainTextTable(create_test_data());

            tab.Align("lmr");

            Assert.Equal(3, tab.Alignments.Count);

            var columns = tab.GetColumnState();

            Assert.Equal(3, columns.Length);

            Assert.Equal(Alignment.Left, columns[0].Align);
            Assert.Equal(Alignment.Center, columns[1].Align);
            Assert.Equal(Alignment.Right, columns[2].Align);
        }
        void render_should_writeAlignedColumns()
        {
            var tab = new PlainTextTable(create_test_data());

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

            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);
        }