[latex3-commits] [l3svn] 03/03: Test copying current colour

noreply at latex-project.org noreply at latex-project.org
Sun Oct 22 17:33:40 CEST 2017


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit 4bd538777d994ceab3228df40938a7fbc7886372
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Oct 22 16:31:11 2017 +0100

    Test copying current colour
---
 l3trial/l3color-extras/testfiles/m3color-extras001.lvt |    7 +++++++
 .../testfiles/m3color-extras001.ptex.tlg               |   16 +++++++++++++---
 l3trial/l3color-extras/testfiles/m3color-extras001.tlg |   16 +++++++++++++---
 .../testfiles/m3color-extras001.uptex.tlg              |   16 +++++++++++++---
 .../testfiles/m3color-extras001.xetex.tlg              |   16 +++++++++++++---
 5 files changed, 59 insertions(+), 12 deletions(-)

diff --git a/l3trial/l3color-extras/testfiles/m3color-extras001.lvt b/l3trial/l3color-extras/testfiles/m3color-extras001.lvt
index 89b1749..bfa359e 100644
--- a/l3trial/l3color-extras/testfiles/m3color-extras001.lvt
+++ b/l3trial/l3color-extras/testfiles/m3color-extras001.lvt
@@ -68,6 +68,13 @@
     \color_show:n { foo2 }
   }
 
+\TEST { Copying~the~current~color }
+  {
+    \color_select:n { cyan!25!magenta }
+    \color_set_eq:nn { foo } { . }
+    \color_show:n { foo }
+  }
+
 \OMIT
   \cs_set_protected:Npn \test:n #1
     {
diff --git a/l3trial/l3color-extras/testfiles/m3color-extras001.ptex.tlg b/l3trial/l3color-extras/testfiles/m3color-extras001.ptex.tlg
index d2a7f25..a33b072 100644
--- a/l3trial/l3color-extras/testfiles/m3color-extras001.ptex.tlg
+++ b/l3trial/l3color-extras/testfiles/m3color-extras001.ptex.tlg
@@ -107,7 +107,17 @@ The color foo2 has the properties:
 l. ...  }
 ============================================================
 ============================================================
-TEST 6: Selecting colors
+TEST 6: Copying the current color
+============================================================
+Defining \l__color_named_foo_tl on line ...
+The color foo has the properties:
+>  model  =>  cmyk
+>  value  =>  0.25, 0.75, 0, 0.
+<recently read> }
+l. ...  }
+============================================================
+============================================================
+TEST 7: Selecting colors
 ============================================================
 > \box57=
 \hbox(6.94444+0.0)x22.50005
@@ -155,7 +165,7 @@ l. ...  }
 l. ...  }
 ============================================================
 ============================================================
-TEST 7: Fixing the model
+TEST 8: Fixing the model
 ============================================================
 > \box57=
 \hbox(6.94444+0.0)x22.50005
@@ -203,7 +213,7 @@ l. ...  }
 l. ...  }
 ============================================================
 ============================================================
-TEST 8: Showing colors
+TEST 9: Showing colors
 ============================================================
 The color unknown is undefined.
 > .
diff --git a/l3trial/l3color-extras/testfiles/m3color-extras001.tlg b/l3trial/l3color-extras/testfiles/m3color-extras001.tlg
index a978c61..6c380fd 100644
--- a/l3trial/l3color-extras/testfiles/m3color-extras001.tlg
+++ b/l3trial/l3color-extras/testfiles/m3color-extras001.tlg
@@ -107,7 +107,17 @@ The color foo2 has the properties:
 l. ...  }
 ============================================================
 ============================================================
-TEST 6: Selecting colors
+TEST 6: Copying the current color
+============================================================
+Defining \l__color_named_foo_tl on line ...
+The color foo has the properties:
+>  model  =>  cmyk
+>  value  =>  0.25, 0.75, 0, 0.
+<recently read> }
+l. ...  }
+============================================================
+============================================================
+TEST 7: Selecting colors
 ============================================================
 > \box57=
 \hbox(6.94444+0.0)x22.50005
@@ -155,7 +165,7 @@ l. ...  }
 l. ...  }
 ============================================================
 ============================================================
-TEST 7: Fixing the model
+TEST 8: Fixing the model
 ============================================================
 > \box57=
 \hbox(6.94444+0.0)x22.50005
@@ -203,7 +213,7 @@ l. ...  }
 l. ...  }
 ============================================================
 ============================================================
-TEST 8: Showing colors
+TEST 9: Showing colors
 ============================================================
 The color unknown is undefined.
 > .
diff --git a/l3trial/l3color-extras/testfiles/m3color-extras001.uptex.tlg b/l3trial/l3color-extras/testfiles/m3color-extras001.uptex.tlg
index d2a7f25..a33b072 100644
--- a/l3trial/l3color-extras/testfiles/m3color-extras001.uptex.tlg
+++ b/l3trial/l3color-extras/testfiles/m3color-extras001.uptex.tlg
@@ -107,7 +107,17 @@ The color foo2 has the properties:
 l. ...  }
 ============================================================
 ============================================================
-TEST 6: Selecting colors
+TEST 6: Copying the current color
+============================================================
+Defining \l__color_named_foo_tl on line ...
+The color foo has the properties:
+>  model  =>  cmyk
+>  value  =>  0.25, 0.75, 0, 0.
+<recently read> }
+l. ...  }
+============================================================
+============================================================
+TEST 7: Selecting colors
 ============================================================
 > \box57=
 \hbox(6.94444+0.0)x22.50005
@@ -155,7 +165,7 @@ l. ...  }
 l. ...  }
 ============================================================
 ============================================================
-TEST 7: Fixing the model
+TEST 8: Fixing the model
 ============================================================
 > \box57=
 \hbox(6.94444+0.0)x22.50005
@@ -203,7 +213,7 @@ l. ...  }
 l. ...  }
 ============================================================
 ============================================================
-TEST 8: Showing colors
+TEST 9: Showing colors
 ============================================================
 The color unknown is undefined.
 > .
diff --git a/l3trial/l3color-extras/testfiles/m3color-extras001.xetex.tlg b/l3trial/l3color-extras/testfiles/m3color-extras001.xetex.tlg
index d2a7f25..a33b072 100644
--- a/l3trial/l3color-extras/testfiles/m3color-extras001.xetex.tlg
+++ b/l3trial/l3color-extras/testfiles/m3color-extras001.xetex.tlg
@@ -107,7 +107,17 @@ The color foo2 has the properties:
 l. ...  }
 ============================================================
 ============================================================
-TEST 6: Selecting colors
+TEST 6: Copying the current color
+============================================================
+Defining \l__color_named_foo_tl on line ...
+The color foo has the properties:
+>  model  =>  cmyk
+>  value  =>  0.25, 0.75, 0, 0.
+<recently read> }
+l. ...  }
+============================================================
+============================================================
+TEST 7: Selecting colors
 ============================================================
 > \box57=
 \hbox(6.94444+0.0)x22.50005
@@ -155,7 +165,7 @@ l. ...  }
 l. ...  }
 ============================================================
 ============================================================
-TEST 7: Fixing the model
+TEST 8: Fixing the model
 ============================================================
 > \box57=
 \hbox(6.94444+0.0)x22.50005
@@ -203,7 +213,7 @@ l. ...  }
 l. ...  }
 ============================================================
 ============================================================
-TEST 8: Showing colors
+TEST 9: Showing colors
 ============================================================
 The color unknown is undefined.
 > .

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list