aboutsummaryrefslogtreecommitdiff
path: root/tests/tables.pseudopod
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tables.pseudopod')
-rw-r--r--tests/tables.pseudopod297
1 files changed, 297 insertions, 0 deletions
diff --git a/tests/tables.pseudopod b/tests/tables.pseudopod
new file mode 100644
index 000000000..f5e943974
--- /dev/null
+++ b/tests/tables.pseudopod
@@ -0,0 +1,297 @@
+=encoding utf8
+
+Simple table with caption:
+
+=begin table Demonstration of simple table syntax.
+
+=headrow
+
+=row
+
+=cell Right
+
+=cell Left
+
+=cell Center
+
+=cell Default
+
+=bodyrows
+
+=row
+
+=cell 12
+
+=cell 12
+
+=cell 12
+
+=cell 12
+
+=row
+
+=cell 123
+
+=cell 123
+
+=cell 123
+
+=cell 123
+
+=row
+
+=cell 1
+
+=cell 1
+
+=cell 1
+
+=cell 1
+
+=end table
+
+Simple table without caption:
+
+=begin table
+
+=headrow
+
+=row
+
+=cell Right
+
+=cell Left
+
+=cell Center
+
+=cell Default
+
+=bodyrows
+
+=row
+
+=cell 12
+
+=cell 12
+
+=cell 12
+
+=cell 12
+
+=row
+
+=cell 123
+
+=cell 123
+
+=cell 123
+
+=cell 123
+
+=row
+
+=cell 1
+
+=cell 1
+
+=cell 1
+
+=cell 1
+
+=end table
+
+Simple table indented two spaces:
+
+=begin table Demonstration of simple table syntax.
+
+=headrow
+
+=row
+
+=cell Right
+
+=cell Left
+
+=cell Center
+
+=cell Default
+
+=bodyrows
+
+=row
+
+=cell 12
+
+=cell 12
+
+=cell 12
+
+=cell 12
+
+=row
+
+=cell 123
+
+=cell 123
+
+=cell 123
+
+=cell 123
+
+=row
+
+=cell 1
+
+=cell 1
+
+=cell 1
+
+=cell 1
+
+=end table
+
+Multiline table with caption:
+
+=begin table Here's the caption. It may span multiple lines.
+
+=headrow
+
+=row
+
+=cell Centered Header
+
+=cell Left Aligned
+
+=cell Right Aligned
+
+=cell Default aligned
+
+=bodyrows
+
+=row
+
+=cell First
+
+=cell row
+
+=cell 12.0
+
+=cell Example of a row that spans multiple lines.
+
+=row
+
+=cell Second
+
+=cell row
+
+=cell 5.0
+
+=cell Here's another one. Note the blank line between rows.
+
+=end table
+
+Multiline table without caption:
+
+=begin table
+
+=headrow
+
+=row
+
+=cell Centered Header
+
+=cell Left Aligned
+
+=cell Right Aligned
+
+=cell Default aligned
+
+=bodyrows
+
+=row
+
+=cell First
+
+=cell row
+
+=cell 12.0
+
+=cell Example of a row that spans multiple lines.
+
+=row
+
+=cell Second
+
+=cell row
+
+=cell 5.0
+
+=cell Here's another one. Note the blank line between rows.
+
+=end table
+
+Table without column headers:
+
+=begin table
+
+=bodyrows
+
+=row
+
+=cell 12
+
+=cell 12
+
+=cell 12
+
+=cell 12
+
+=row
+
+=cell 123
+
+=cell 123
+
+=cell 123
+
+=cell 123
+
+=row
+
+=cell 1
+
+=cell 1
+
+=cell 1
+
+=cell 1
+
+=end table
+
+Multiline table without column headers:
+
+=begin table
+
+=bodyrows
+
+=row
+
+=cell First
+
+=cell row
+
+=cell 12.0
+
+=cell Example of a row that spans multiple lines.
+
+=row
+
+=cell Second
+
+=cell row
+
+=cell 5.0
+
+=cell Here's another one. Note the blank line between rows.
+
+=end table