summaryrefslogtreecommitdiffstats
path: root/regress/eqn/fromto
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/fromto
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/fromto')
-rw-r--r--regress/eqn/fromto/Makefile6
-rw-r--r--regress/eqn/fromto/basic.in12
-rw-r--r--regress/eqn/fromto/basic.out_ascii9
-rw-r--r--regress/eqn/fromto/basic.out_html1
-rw-r--r--regress/eqn/fromto/noarg.in12
-rw-r--r--regress/eqn/fromto/noarg.out_ascii9
-rw-r--r--regress/eqn/fromto/noarg.out_html1
7 files changed, 50 insertions, 0 deletions
diff --git a/regress/eqn/fromto/Makefile b/regress/eqn/fromto/Makefile
new file mode 100644
index 00000000..a2012e8f
--- /dev/null
+++ b/regress/eqn/fromto/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.2 2015/01/01 15:34:43 schwarze Exp $
+
+REGRESS_TARGETS = basic noarg
+HTML_TARGETS = basic noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/eqn/fromto/basic.in b/regress/eqn/fromto/basic.in
new file mode 100644
index 00000000..5d42605a
--- /dev/null
+++ b/regress/eqn/fromto/basic.in
@@ -0,0 +1,12 @@
+.Dd January 1, 2015
+.Dt FROMTO-BASIC 1
+.Os OpenBSD
+.Sh NAME
+.Nm fromto-basic
+.Nd vertical stacking
+.Sh DESCRIPTION
+initial text
+.EQ
+sum from { i = 1 } to inf 1 over i sup 2
+.EN
+final text
diff --git a/regress/eqn/fromto/basic.out_ascii b/regress/eqn/fromto/basic.out_ascii
new file mode 100644
index 00000000..1c3105d4
--- /dev/null
+++ b/regress/eqn/fromto/basic.out_ascii
@@ -0,0 +1,9 @@
+FROMTO-BASIC(1) General Commands Manual FROMTO-BASIC(1)
+
+NNAAMMEE
+ ffrroommttoo--bbaassiicc - vertical stacking
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text E_(i = 1)^oo 1/i^2 final text
+
+OpenBSD January 1, 2015 OpenBSD
diff --git a/regress/eqn/fromto/basic.out_html b/regress/eqn/fromto/basic.out_html
new file mode 100644
index 00000000..700edcc2
--- /dev/null
+++ b/regress/eqn/fromto/basic.out_html
@@ -0,0 +1 @@
+<mrow><munderover><mi>&#8721;</mi><mrow><mi>i</mi><mi>=</mi><mi>1</mi></mrow><mi>&#8734;</mi></munderover><mfrac><mi>1</mi><msup><mi>i</mi><mi>2</mi></msup></mfrac></mrow>
diff --git a/regress/eqn/fromto/noarg.in b/regress/eqn/fromto/noarg.in
new file mode 100644
index 00000000..e37d2e93
--- /dev/null
+++ b/regress/eqn/fromto/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 1, 2015
+.Dt FROMTO-NOARG 1
+.Os OpenBSD
+.Sh NAME
+.Nm fromto-noarg
+.Nd vertical stacking lacks final argument
+.Sh DESCRIPTION
+initial text
+.EQ
+x from a to to
+.EN
+final text
diff --git a/regress/eqn/fromto/noarg.out_ascii b/regress/eqn/fromto/noarg.out_ascii
new file mode 100644
index 00000000..06d2ae81
--- /dev/null
+++ b/regress/eqn/fromto/noarg.out_ascii
@@ -0,0 +1,9 @@
+FROMTO-NOARG(1) General Commands Manual FROMTO-NOARG(1)
+
+NNAAMMEE
+ ffrroommttoo--nnooaarrgg - vertical stacking lacks final argument
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text x_a^^ final text
+
+OpenBSD January 1, 2015 OpenBSD
diff --git a/regress/eqn/fromto/noarg.out_html b/regress/eqn/fromto/noarg.out_html
new file mode 100644
index 00000000..1caf3a3d
--- /dev/null
+++ b/regress/eqn/fromto/noarg.out_html
@@ -0,0 +1 @@
+<mrow><munderover><mi>x</mi><mover><mi>a</mi></mover></munderover></mrow>