[latex3-commits] [l3svn] r6978 - Add minimal test for fpu

noreply at latex-project.org noreply at latex-project.org
Thu Mar 2 05:14:47 CET 2017


Author: bruno
Date: 2017-03-02 05:14:46 +0100 (Thu, 02 Mar 2017)
New Revision: 6978

Added:
   trunk/l3packages/fpu/testfiles/
   trunk/l3packages/fpu/testfiles/fpu001.lvt
   trunk/l3packages/fpu/testfiles/fpu001.tlg
Log:
Add minimal test for fpu


Added: trunk/l3packages/fpu/testfiles/fpu001.lvt
===================================================================
--- trunk/l3packages/fpu/testfiles/fpu001.lvt	                        (rev 0)
+++ trunk/l3packages/fpu/testfiles/fpu001.lvt	2017-03-02 04:14:46 UTC (rev 6978)
@@ -0,0 +1,22 @@
+%
+% Copyright (C) 2017 LaTeX3 Project
+%
+
+\documentclass{minimal}
+\input{regression-test}
+
+\RequirePackage[check-declarations,log-functions]{expl3}
+\RequirePackage{fpu}
+
+\begin{document}
+\START
+\AUTHOR{Bruno Le Floch}
+\TEST{fpeval}
+  {
+    \TYPE{|\fpeval{1.23456789+2.020202}|}
+    \TYPE{|\fpeval{sin(pi)}|}
+    \TYPE{|\fpeval{foobar}|}
+  }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\END


Property changes on: trunk/l3packages/fpu/testfiles/fpu001.lvt
___________________________________________________________________
Added: svn:eol-style
   + native

Added: trunk/l3packages/fpu/testfiles/fpu001.tlg
===================================================================
--- trunk/l3packages/fpu/testfiles/fpu001.tlg	                        (rev 0)
+++ trunk/l3packages/fpu/testfiles/fpu001.tlg	2017-03-02 04:14:46 UTC (rev 6978)
@@ -0,0 +1,28 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+Author: Bruno Le Floch
+============================================================
+TEST 1: fpeval
+============================================================
+|3.25476989|
+|0.0000000000000002384626433832795|
+! Undefined control sequence.
+<argument> \LaTeX3 error: 
+                           Unknown fp word foobar.
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+! Undefined control sequence.
+<argument> \LaTeX3 error: 
+                           Invalid operation fp_to_decimal(nan)
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+|0|
+============================================================


Property changes on: trunk/l3packages/fpu/testfiles/fpu001.tlg
___________________________________________________________________
Added: svn:eol-style
   + native



More information about the latex3-commits mailing list