[latex3-commits] [git/LaTeX3-latex3-latex3] color-multi-model: Add test for showing multiple models (a0dd934d2)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Jun 9 13:47:45 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : color-multi-model
Link       : https://github.com/latex3/latex3/commit/a0dd934d28dd830f869ae9c8f6a026093e6fec43

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

commit a0dd934d28dd830f869ae9c8f6a026093e6fec43
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jun 9 12:46:53 2020 +0100

    Add test for showing multiple models


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

a0dd934d28dd830f869ae9c8f6a026093e6fec43
 l3experimental/l3color/testfiles/m3color003.lvt       |  7 +++++++
 l3experimental/l3color/testfiles/m3color003.ptex.tlg  | 11 +++++++++++
 l3experimental/l3color/testfiles/m3color003.tlg       | 11 +++++++++++
 l3experimental/l3color/testfiles/m3color003.uptex.tlg | 11 +++++++++++
 l3experimental/l3color/testfiles/m3color003.xetex.tlg | 11 +++++++++++
 5 files changed, 51 insertions(+)

diff --git a/l3experimental/l3color/testfiles/m3color003.lvt b/l3experimental/l3color/testfiles/m3color003.lvt
index 3acc06eb8..11b2c6476 100644
--- a/l3experimental/l3color/testfiles/m3color003.lvt
+++ b/l3experimental/l3color/testfiles/m3color003.lvt
@@ -64,4 +64,11 @@
     \color_show:n { test }
   }
 
+\TEST { Showing~multiple~models }
+  {
+    \color_set:nnn { foo1 } { cmyk / rgb }
+      { 0.1 , 0.2 , 0.3 , 0.4 / 0.1 , 0.1 , 0.2 }
+    \color_show:n { foo1 }
+  }
+
 \END
diff --git a/l3experimental/l3color/testfiles/m3color003.ptex.tlg b/l3experimental/l3color/testfiles/m3color003.ptex.tlg
index 8dd4f335c..2b1626dbc 100644
--- a/l3experimental/l3color/testfiles/m3color003.ptex.tlg
+++ b/l3experimental/l3color/testfiles/m3color003.ptex.tlg
@@ -74,3 +74,14 @@ The color test has the properties:
 <recently read> }
 l. ...  }
 ============================================================
+============================================================
+TEST 3: Showing multiple models
+============================================================
+The color foo1 has the properties:
+>  model  =>  cmyk
+>  value  =>  0.1, 0.2, 0.3, 0.4
+>  cmyk  =>  0.1 0.2 0.3 0.4
+>  rgb  =>  0.1 0.1 0.2.
+<recently read> }
+l. ...  }
+============================================================
diff --git a/l3experimental/l3color/testfiles/m3color003.tlg b/l3experimental/l3color/testfiles/m3color003.tlg
index 90d6cb107..c61b2ac2e 100644
--- a/l3experimental/l3color/testfiles/m3color003.tlg
+++ b/l3experimental/l3color/testfiles/m3color003.tlg
@@ -70,3 +70,14 @@ The color test has the properties:
 <recently read> }
 l. ...  }
 ============================================================
+============================================================
+TEST 3: Showing multiple models
+============================================================
+The color foo1 has the properties:
+>  model  =>  cmyk
+>  value  =>  0.1, 0.2, 0.3, 0.4
+>  cmyk  =>  0.1 0.2 0.3 0.4
+>  rgb  =>  0.1 0.1 0.2.
+<recently read> }
+l. ...  }
+============================================================
diff --git a/l3experimental/l3color/testfiles/m3color003.uptex.tlg b/l3experimental/l3color/testfiles/m3color003.uptex.tlg
index 8dd4f335c..2b1626dbc 100644
--- a/l3experimental/l3color/testfiles/m3color003.uptex.tlg
+++ b/l3experimental/l3color/testfiles/m3color003.uptex.tlg
@@ -74,3 +74,14 @@ The color test has the properties:
 <recently read> }
 l. ...  }
 ============================================================
+============================================================
+TEST 3: Showing multiple models
+============================================================
+The color foo1 has the properties:
+>  model  =>  cmyk
+>  value  =>  0.1, 0.2, 0.3, 0.4
+>  cmyk  =>  0.1 0.2 0.3 0.4
+>  rgb  =>  0.1 0.1 0.2.
+<recently read> }
+l. ...  }
+============================================================
diff --git a/l3experimental/l3color/testfiles/m3color003.xetex.tlg b/l3experimental/l3color/testfiles/m3color003.xetex.tlg
index c91f84668..661293130 100644
--- a/l3experimental/l3color/testfiles/m3color003.xetex.tlg
+++ b/l3experimental/l3color/testfiles/m3color003.xetex.tlg
@@ -70,3 +70,14 @@ The color test has the properties:
 <recently read> }
 l. ...  }
 ============================================================
+============================================================
+TEST 3: Showing multiple models
+============================================================
+The color foo1 has the properties:
+>  model  =>  cmyk
+>  value  =>  0.1, 0.2, 0.3, 0.4
+>  cmyk  =>  0.1 0.2 0.3 0.4
+>  rgb  =>  0.1 0.1 0.2.
+<recently read> }
+l. ...  }
+============================================================





More information about the latex3-commits mailing list.