[latex3-commits] [l3svn] 02/03: Basic \color_select:n(n) test

noreply at latex-project.org noreply at latex-project.org
Thu Oct 12 11:03:32 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 6edf37dc2b5db3cf48ec60087ae520b59639f30e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Oct 12 09:34:49 2017 +0100

    Basic \color_select:n(n) test
---
 l3trial/l3color-extra/testfiles/m3color-extra001.lvt |    8 ++++++++
 l3trial/l3color-extra/testfiles/m3color-extra001.tlg |    6 +++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/l3trial/l3color-extra/testfiles/m3color-extra001.lvt b/l3trial/l3color-extra/testfiles/m3color-extra001.lvt
index 2a839f3..2174900 100644
--- a/l3trial/l3color-extra/testfiles/m3color-extra001.lvt
+++ b/l3trial/l3color-extra/testfiles/m3color-extra001.lvt
@@ -68,6 +68,14 @@
     \color_show:n { foo2 }
   }
 
+\TEST { Selecting~colors }
+  {
+    \color_select:n { black }
+    \color_select:n { red!25!green }
+    \color_select:nn { gray } { 0.33 }
+    \color_select:nn { cmyk } { 0.9 , 0.2 , 0.4 , 0 }
+  }
+
 \TEST { Showing~colors }
   {
     \color_show:n { unknown }
diff --git a/l3trial/l3color-extra/testfiles/m3color-extra001.tlg b/l3trial/l3color-extra/testfiles/m3color-extra001.tlg
index fd56ef3..a33b75e 100644
--- a/l3trial/l3color-extra/testfiles/m3color-extra001.tlg
+++ b/l3trial/l3color-extra/testfiles/m3color-extra001.tlg
@@ -107,7 +107,11 @@ The color foo2 has the properties:
 l. ...  }
 ============================================================
 ============================================================
-TEST 6: Showing colors
+TEST 6: Selecting colors
+============================================================
+============================================================
+============================================================
+TEST 7: 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