[latex3-commits] [git/LaTeX3-latex3-xcolor] testl3color: add testfiles for colorspace (74831b0)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Aug 16 16:44:25 CEST 2022


Repository : https://github.com/latex3/xcolor
On branch  : testl3color
Link       : https://github.com/latex3/xcolor/commit/74831b06beb5740c381c70e6814117abbab2a24b

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

commit 74831b06beb5740c381c70e6814117abbab2a24b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Aug 16 16:44:25 2022 +0200

    add testfiles for colorspace


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

74831b06beb5740c381c70e6814117abbab2a24b
 testfiles/l3color-define-03.lvt                    | 24 ++++++++++++++++++++++
 ...l3color-define-01.tlg => l3color-define-03.tlg} |  0
 2 files changed, 24 insertions(+)

diff --git a/testfiles/l3color-define-03.lvt b/testfiles/l3color-define-03.lvt
new file mode 100644
index 0000000..b3144f2
--- /dev/null
+++ b/testfiles/l3color-define-03.lvt
@@ -0,0 +1,24 @@
+% !Mode:: "TeX:UTF-8:Main"
+\DocumentMetadata{}
+\input{regression-test}
+\documentclass{article}
+
+\usepackage{xcolor}
+\usepackage{colorspace}
+
+\begin{document}
+\ExplSyntaxOn\makeatletter
+% no full support for spot colors, 
+% they use the cmyk fallback. 
+\TEST{colorspace-spotcolor}
+ {
+   \definespotcolor{test}{PANTONE 3005 U}{1,0.56,0,0}
+   \color_export:nnnN {cmyk}{1,0.56,0,0}{backend}\l_tmpa_tl
+   \color_export:nnN  {test}{backend}\l_tmpb_tl
+   \ASSERTSTR{\l_tmpa_tl}{\l_tmpb_tl}
+ }
+\ExplSyntaxOff
+
+
+\OMIT 
+\end{document}
diff --git a/testfiles/l3color-define-01.tlg b/testfiles/l3color-define-03.tlg
similarity index 100%
copy from testfiles/l3color-define-01.tlg
copy to testfiles/l3color-define-03.tlg





More information about the latex3-commits mailing list.