Commit cc9a9d28ca4154f9e8540f9e89c8e88f6469949d

Martin Mitas 2020-02-16T15:29:54

test/fuzz-test: Add some fuzzing testing initial input.

diff --git a/test/fuzz-input/commonmark.md b/test/fuzz-input/commonmark.md
new file mode 100644
index 0000000..dc3446e
--- /dev/null
+++ b/test/fuzz-input/commonmark.md
@@ -0,0 +1,41 @@
+
+# h1
+## h2
+### h3
+#### h4
+##### h5
+###### h6
+
+h1
+==
+
+h2
+--
+
+--------------------
+
+    indented code
+
+```
+fenced code
+```
+
+<tag attr='val' attr2="val2">
+
+> quote
+
+* list item
+1. list item
+
+[ref]: /url
+
+paragraph
+&copy; &#1234; &#xabcd;
+`code`
+*emph* **strong** ***strong emph***
+_emph_ __strong__ ___strong emph___
+[ref] [ref][] [link](/url)
+![ref] ![ref][] ![img](/url)
+<http://example.com> <doe@example.com>
+www.example.com doe@example.com
+\\ \* \. \` \
diff --git a/test/fuzz-input/gfm.md b/test/fuzz-input/gfm.md
new file mode 100644
index 0000000..fd51485
--- /dev/null
+++ b/test/fuzz-input/gfm.md
@@ -0,0 +1,8 @@
+* [ ] unchecked
+* [x] checked
+
+ A | B | C
+---|--:|:-:
+aaa|bbb|ccc
+
+~del~ ~~del~~
diff --git a/test/fuzz-input/latex-math.md b/test/fuzz-input/latex-math.md
new file mode 100644
index 0000000..d17af34
--- /dev/null
+++ b/test/fuzz-input/latex-math.md
@@ -0,0 +1 @@
+$a^2+b^2=c^2$ $$a^2+b^2=c^2$$
diff --git a/test/fuzz-input/wiki.md b/test/fuzz-input/wiki.md
new file mode 100644
index 0000000..a423974
--- /dev/null
+++ b/test/fuzz-input/wiki.md
@@ -0,0 +1 @@
+[[wiki]] [[wiki|label]]