[latex3-commits] [latex3/latex2e] add-theHcount: add testfile (e9c83ee0)

github at latex-project.org github at latex-project.org
Fri Jun 16 16:54:45 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : add-theHcount
Link       : https://github.com/latex3/latex2e/commit/e9c83ee0975041c5bd8360638abec08dd07028e7

>---------------------------------------------------------------

commit e9c83ee0975041c5bd8360638abec08dd07028e7
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jun 16 16:54:45 2023 +0200

    add testfile


>---------------------------------------------------------------

e9c83ee0975041c5bd8360638abec08dd07028e7
 base/testfiles/tlb-theHcounter-001.lvt | 30 ++++++++++++++++++++++++++++++
 base/testfiles/tlb-theHcounter-001.tlg | 25 +++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/base/testfiles/tlb-theHcounter-001.lvt b/base/testfiles/tlb-theHcounter-001.lvt
new file mode 100644
index 00000000..a64462f3
--- /dev/null
+++ b/base/testfiles/tlb-theHcounter-001.lvt
@@ -0,0 +1,30 @@
+%
+% Tests for \@removefromreset
+
+\documentclass{article}
+
+% Input the test macros for LaTeX2e
+\input{test2e}
+\START
+
+\makeatletter
+
+\@definecounter{foo}
+\show\theHfoo
+
+\newcounter{baz}
+\show\theHbaz
+
+\@addtoreset{foo}{baz}
+\show\theHfoo
+\show\theHbaz
+
+\@removefromreset{foo}{baz}
+\show\theHfoo
+\show\theHbaz
+
+\refstepcounter{foo}
+\show\@currentHref
+
+\END
+
diff --git a/base/testfiles/tlb-theHcounter-001.tlg b/base/testfiles/tlb-theHcounter-001.tlg
new file mode 100644
index 00000000..5d6470c0
--- /dev/null
+++ b/base/testfiles/tlb-theHcounter-001.tlg
@@ -0,0 +1,25 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+\c at foo=\count...
+> \theHfoo=macro:
+->\the \value {foo}.
+l. ...\show\theHfoo
+\c at baz=\count...
+> \theHbaz=macro:
+->\the \value {baz}.
+l. ...\show\theHbaz
+> \theHfoo=macro:
+->\csname theHbaz\endcsname .\the \value {foo}.
+l. ...\show\theHfoo
+> \theHbaz=macro:
+->\the \value {baz}.
+l. ...\show\theHbaz
+> \theHfoo=macro:
+->\csname theHbaz\endcsname .\the \value {foo}.
+l. ...\show\theHfoo
+> \theHbaz=macro:
+->\the \value {baz}.
+l. ...\show\theHbaz
+> \@currentHref=macro:
+->foo.0.1.
+l. ...\show\@currentHref





More information about the latex3-commits mailing list.