summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fontinst/base/test/v1916test.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fontinst/base/test/v1916test.tex')
-rw-r--r--Master/texmf-dist/doc/fontinst/base/test/v1916test.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fontinst/base/test/v1916test.tex b/Master/texmf-dist/doc/fontinst/base/test/v1916test.tex
new file mode 100644
index 00000000000..56f26a51b0f
--- /dev/null
+++ b/Master/texmf-dist/doc/fontinst/base/test/v1916test.tex
@@ -0,0 +1,14 @@
+% v1916test.tex
+
+\input fontinst.sty
+
+% \half and \otherhalf
+\fontinstcc
+\for(i){-5}{5}{1}
+ \eval_expr_to\b_count{\half{\int{i}}}
+ \eval_expr{\otherhalf{\int{i}}}
+ \immediate\write16{\strint{i}:~\the\b_count \space+~ \the\result}
+\endfor(i)
+\normalcc
+
+\bye