summaryrefslogtreecommitdiffstats
path: root/regress/eqn/over
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-08 03:02:13 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-08 03:02:13 +0000
commit4c0770c1ecd159a77561d8e0364385f4bb758650 (patch)
tree5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/eqn/over
parentd16e7f2cf346476e177ce672851b0b957aebbe5d (diff)
downloadmandoc-4c0770c1ecd159a77561d8e0364385f4bb758650.tar.gz
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this, literally for years.
Diffstat (limited to 'regress/eqn/over')
-rw-r--r--regress/eqn/over/Makefile7
-rw-r--r--regress/eqn/over/noarg.in12
-rw-r--r--regress/eqn/over/noarg.out_ascii9
-rw-r--r--regress/eqn/over/noarg.out_html1
-rw-r--r--regress/eqn/over/noarg.out_lint1
-rw-r--r--regress/eqn/over/precedence.in12
-rw-r--r--regress/eqn/over/precedence.out_ascii9
-rw-r--r--regress/eqn/over/precedence.out_html1
8 files changed, 52 insertions, 0 deletions
diff --git a/regress/eqn/over/Makefile b/regress/eqn/over/Makefile
new file mode 100644
index 00000000..8b864c25
--- /dev/null
+++ b/regress/eqn/over/Makefile
@@ -0,0 +1,7 @@
+# $OpenBSD: Makefile,v 1.2 2015/01/01 15:34:43 schwarze Exp $
+
+REGRESS_TARGETS = noarg precedence
+HTML_TARGETS = noarg precedence
+LINT_TARGETS = noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/eqn/over/noarg.in b/regress/eqn/over/noarg.in
new file mode 100644
index 00000000..ac93fcca
--- /dev/null
+++ b/regress/eqn/over/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 1, 2015
+.Dt OVER-NOARG 1
+.Os OpenBSD
+.Sh NAME
+.Nm over-noarg
+.Nd fraction operator without arguments
+.Sh DESCRIPTION
+initial text
+.EQ
+over over
+.EN
+final text
diff --git a/regress/eqn/over/noarg.out_ascii b/regress/eqn/over/noarg.out_ascii
new file mode 100644
index 00000000..4057f6bd
--- /dev/null
+++ b/regress/eqn/over/noarg.out_ascii
@@ -0,0 +1,9 @@
+OVER-NOARG(1) General Commands Manual OVER-NOARG(1)
+
+NNAAMMEE
+ oovveerr--nnooaarrgg - fraction operator without arguments
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text // final text
+
+OpenBSD January 1, 2015 OpenBSD
diff --git a/regress/eqn/over/noarg.out_html b/regress/eqn/over/noarg.out_html
new file mode 100644
index 00000000..565b988c
--- /dev/null
+++ b/regress/eqn/over/noarg.out_html
@@ -0,0 +1 @@
+<mrow><mfrac><mfrac><mi></mi></mfrac></mfrac></mrow>
diff --git a/regress/eqn/over/noarg.out_lint b/regress/eqn/over/noarg.out_lint
new file mode 100644
index 00000000..aabfc30b
--- /dev/null
+++ b/regress/eqn/over/noarg.out_lint
@@ -0,0 +1 @@
+mandoc: noarg.in:9:1: WARNING: missing eqn box, using "": over
diff --git a/regress/eqn/over/precedence.in b/regress/eqn/over/precedence.in
new file mode 100644
index 00000000..2386ff8c
--- /dev/null
+++ b/regress/eqn/over/precedence.in
@@ -0,0 +1,12 @@
+.Dd October 10, 2014
+.Dt OVER-PRECEDENCE 1
+.Os OpenBSD
+.Sh NAME
+.Nm over-precedence
+.Nd precedence of the fraction operator
+.Sh DESCRIPTION
+initial text
+.EQ
+1 + x + x sup 2 over 2 + x sup 3 over { 2 * 3 }
+.EN
+final text
diff --git a/regress/eqn/over/precedence.out_ascii b/regress/eqn/over/precedence.out_ascii
new file mode 100644
index 00000000..3e930019
--- /dev/null
+++ b/regress/eqn/over/precedence.out_ascii
@@ -0,0 +1,9 @@
+OVER-PRECEDENCE(1) General Commands Manual OVER-PRECEDENCE(1)
+
+NNAAMMEE
+ oovveerr--pprreecceeddeennccee - precedence of the fraction operator
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text 1 + x + x^2/2 + x^3/(2 * 3) final text
+
+OpenBSD October 10, 2014 OpenBSD
diff --git a/regress/eqn/over/precedence.out_html b/regress/eqn/over/precedence.out_html
new file mode 100644
index 00000000..c0128021
--- /dev/null
+++ b/regress/eqn/over/precedence.out_html
@@ -0,0 +1 @@
+<mrow><mi>1</mi><mi>+</mi><mi>x</mi><mi>+</mi><mfrac><msup><mi>x</mi><mi>2</mi></msup><mi>2</mi></mfrac><mi>+</mi><mfrac><msup><mi>x</mi><mi>3</mi></msup><mrow><mi>2</mi><mi>*</mi><mi>3</mi></mrow></mfrac></mrow>