Table Tester

C1 C2 C3
12 12 12
C1 C2 C3
12 12 12
C1 C2 C3
12 12 12

Test #1 - table_max_chars == sum(longest_words)

12345678901 12345678901 12345678901 1234567890 1234567890 12345678901

Test #2 - table_max_chars == sum(inf)

12 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Test #3 - table_max_chars < sum(longest_words)

Steal from columns with % and em widths
123456789012 123456789012 123456789012 123456789012 123456789012 123456789012
Steal from relative widths
123456789012 123456789012 123456789012 123456789012 123456789012 123456789012
Steam from unspecified widths
123456789012 123456789012 123456789012 123456789012 123456789012 123456789012

Test #4 - table_max_chars >= sum(ttcol_widths)

123 5678 123 5678 123 5678 123 5678 123 5678 123 5678

table_max_chars > sum(mnsc)

123 567890 2345 123 567890 234 123 567890 234 123 567890 234 123 567890 234 123 567890 234

Test #6 - table_max_chars == sum(mnsc)

123 5678901 123 5678901 123 5678901 123 567890 123 567890 123 56789

Test #7 table_max_chars > sum(mnsb)

123 5678901 123 5678901 123 5678901 123 567890 123 567890 123 567890

Test #8 table_max_chars == sum(mnsb)

123 567890 23456 123 567890 23456 123 567890 23456 123 567890 23456 123 567890 23456 123 567890 23456

Test #9 table_max_chars > sum(mnsa)

123 567890 23456 123 567890 23456 123 567890 23456 123456789 0123456 1234567890 23456 123 567890 23456
123 567890 23456 123 567890 23456 123 567890 23456 123 567890 23456 123 567890 23456 123 5678901 3456

Grow from max words to requested lengths

123 567890 23456 123 567890 23456 123 567890 23456 123 567890 23456 123 567890 23456 123 567890 23456