[latex3-commits] [l3svn] branch master updated: Test colour copying

noreply at latex-project.org noreply at latex-project.org
Wed Oct 11 23:27:48 CEST 2017


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

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  ec73faa   Test colour copying
ec73faa is described below

commit ec73faabe28520c7f4237d1b90821ae893992f63
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Oct 11 22:27:22 2017 +0100

    Test colour copying
---
 l3trial/l3color-extra/testfiles/m3color-extra001.lvt |    9 +++++++++
 l3trial/l3color-extra/testfiles/m3color-extra001.tlg |   16 +++++++++++++++-
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/l3trial/l3color-extra/testfiles/m3color-extra001.lvt b/l3trial/l3color-extra/testfiles/m3color-extra001.lvt
index 7954b85..2a839f3 100644
--- a/l3trial/l3color-extra/testfiles/m3color-extra001.lvt
+++ b/l3trial/l3color-extra/testfiles/m3color-extra001.lvt
@@ -57,6 +57,15 @@
     \color_show:n { foo2 }
     \color_set:nn { foo3 } { cyan!50!red!10!black }
     \color_show:n { foo3 }
+    \color_set:nn { foo4 } { red!10!black }
+    \color_show:n { foo4 }
+  }
+
+\TEST { Copying~named~colors }
+  {
+    \color_set:nn { foo1 } { cyan!25!magenta }
+    \color_set_eq:nn { foo2 } { foo1 }
+    \color_show:n { foo2 }
   }
 
 \TEST { Showing~colors }
diff --git a/l3trial/l3color-extra/testfiles/m3color-extra001.tlg b/l3trial/l3color-extra/testfiles/m3color-extra001.tlg
index 015c0ce..fd56ef3 100644
--- a/l3trial/l3color-extra/testfiles/m3color-extra001.tlg
+++ b/l3trial/l3color-extra/testfiles/m3color-extra001.tlg
@@ -91,9 +91,23 @@ The color foo3 has the properties:
 >  value  =>  0.05, 0.05, 0.05, 0.9.
 <recently read> }
 l. ...  }
+The color foo4 has the properties:
+>  model  =>  rgb
+>  value  =>  0.1, 0, 0.
+<recently read> }
+l. ...  }
+============================================================
+============================================================
+TEST 5: Copying named colors
+============================================================
+The color foo2 has the properties:
+>  model  =>  cmyk
+>  value  =>  0.25, 0.75, 0, 0.
+<recently read> }
+l. ...  }
 ============================================================
 ============================================================
-TEST 5: Showing colors
+TEST 6: 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