[latex3-commits] [git/LaTeX3-latex3-latex3] master: Add tests for shuffle (and update m3expl tests) (see #456) (a9428c4)

Bruno Le Floch bruno at le-floch.fr
Sun Apr 29 22:37:39 CEST 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/a9428c4f12ae68a584571b34d8d4e9cf10f4f37b

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

commit a9428c4f12ae68a584571b34d8d4e9cf10f4f37b
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Sun Apr 29 16:13:59 2018 -0400

    Add tests for shuffle (and update m3expl tests) (see #456)


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

a9428c4f12ae68a584571b34d8d4e9cf10f4f37b
 l3kernel/testfiles/m3expl001.luatex.tlg            |   10 +++
 l3kernel/testfiles/m3expl001.ptex.tlg              |   10 +++
 l3kernel/testfiles/m3expl001.tlg                   |   10 +++
 l3kernel/testfiles/m3expl001.uptex.tlg             |   10 +++
 l3kernel/testfiles/m3expl001.xetex.tlg             |    2 +
 l3kernel/testfiles/m3expl002.luatex.tlg            |    2 +
 l3kernel/testfiles/m3expl002.ptex.tlg              |    2 +
 l3kernel/testfiles/m3expl002.tlg                   |    2 +
 l3kernel/testfiles/m3expl002.uptex.tlg             |    2 +
 l3kernel/testfiles/m3expl003.luatex.tlg            |   10 +++
 l3kernel/testfiles/m3expl003.ptex.tlg              |   10 +++
 l3kernel/testfiles/m3expl003.tlg                   |   10 +++
 l3kernel/testfiles/m3expl003.uptex.tlg             |   10 +++
 l3kernel/testfiles/m3expl003.xetex.tlg             |    2 +
 l3kernel/testfiles/m3expl004.luatex.tlg            |    2 +
 l3kernel/testfiles/m3expl004.ptex.tlg              |    2 +
 l3kernel/testfiles/m3expl004.tlg                   |    2 +
 l3kernel/testfiles/m3expl004.uptex.tlg             |    2 +
 l3kernel/testfiles/m3expl006.luatex.tlg            |    2 +
 l3kernel/testfiles/m3expl006.ptex.tlg              |    2 +
 l3kernel/testfiles/m3expl006.tlg                   |    2 +
 l3kernel/testfiles/m3expl006.uptex.tlg             |    2 +
 l3kernel/testfiles/m3seq009.lvt                    |   44 ++++++++++
 .../testfiles/m3seq009.tlg                         |    6 +-
 l3kernel/testfiles/m3seq009.xetex.tlg              |   86 ++++++++++++++++++++
 25 files changed, 242 insertions(+), 2 deletions(-)

diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index 1762238..05f4e29 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -5718,6 +5718,16 @@ Defining \seq_rand_item:N on line ...
 Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
+Defining \l__seq_internal_a_int on line ...
+\l__seq_internal_a_int=\count...
+Defining \l__seq_internal_b_int on line ...
+\l__seq_internal_b_int=\count...
+Defining \g__seq_internal_seq on line ...
+Defining \seq_shuffle:N on line ...
+Defining \seq_gshuffle:N on line ...
+Defining \__seq_shuffle:NN on line ...
+Defining \__seq_shuffle_item:n on line ...
+Defining message LaTeX/kernel/shuffle-too-large on line ...
 Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \sys_if_rand_exist:T on line ...
 Defining \sys_if_rand_exist:F on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index 171c10a..941ad8c 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -5711,6 +5711,16 @@ Defining \seq_rand_item:N on line ...
 Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
+Defining \l__seq_internal_a_int on line ...
+\l__seq_internal_a_int=\count...
+Defining \l__seq_internal_b_int on line ...
+\l__seq_internal_b_int=\count...
+Defining \g__seq_internal_seq on line ...
+Defining \seq_shuffle:N on line ...
+Defining \seq_gshuffle:N on line ...
+Defining \__seq_shuffle:NN on line ...
+Defining \__seq_shuffle_item:n on line ...
+Defining message LaTeX/kernel/shuffle-too-large on line ...
 Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \sys_if_rand_exist:T on line ...
 Defining \sys_if_rand_exist:F on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index b3adb05..7607121 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -5711,6 +5711,16 @@ Defining \seq_rand_item:N on line ...
 Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
+Defining \l__seq_internal_a_int on line ...
+\l__seq_internal_a_int=\count...
+Defining \l__seq_internal_b_int on line ...
+\l__seq_internal_b_int=\count...
+Defining \g__seq_internal_seq on line ...
+Defining \seq_shuffle:N on line ...
+Defining \seq_gshuffle:N on line ...
+Defining \__seq_shuffle:NN on line ...
+Defining \__seq_shuffle_item:n on line ...
+Defining message LaTeX/kernel/shuffle-too-large on line ...
 Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \sys_if_rand_exist:T on line ...
 Defining \sys_if_rand_exist:F on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index 2a6bd95..f2a9d1a 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -5709,6 +5709,16 @@ Defining \seq_rand_item:N on line ...
 Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
+Defining \l__seq_internal_a_int on line ...
+\l__seq_internal_a_int=\count...
+Defining \l__seq_internal_b_int on line ...
+\l__seq_internal_b_int=\count...
+Defining \g__seq_internal_seq on line ...
+Defining \seq_shuffle:N on line ...
+Defining \seq_gshuffle:N on line ...
+Defining \__seq_shuffle:NN on line ...
+Defining \__seq_shuffle_item:n on line ...
+Defining message LaTeX/kernel/shuffle-too-large on line ...
 Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \sys_if_rand_exist:T on line ...
 Defining \sys_if_rand_exist:F on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index ce46cb3..d700e9e 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -5692,6 +5692,8 @@ Defining \seq_rand_item:N on line ...
 Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
+Defining \seq_shuffle:N on line ...
+Defining \seq_gshuffle:N on line ...
 Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \sys_if_rand_exist:T on line ...
 Defining \sys_if_rand_exist:F on line ...
diff --git a/l3kernel/testfiles/m3expl002.luatex.tlg b/l3kernel/testfiles/m3expl002.luatex.tlg
index 322c730..4ac1b2d 100644
--- a/l3kernel/testfiles/m3expl002.luatex.tlg
+++ b/l3kernel/testfiles/m3expl002.luatex.tlg
@@ -142,6 +142,8 @@ Don't change this file in any respect.
 \l__coffin_top_corner_dim=\dimen...
 \l__coffin_scaled_total_height_dim=\dimen...
 \l__coffin_scaled_width_dim=\dimen...
+\l__seq_internal_a_int=\count...
+\l__seq_internal_b_int=\count...
 ) (l3pdfmode.def
 \l__driver_color_stack_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl002.ptex.tlg b/l3kernel/testfiles/m3expl002.ptex.tlg
index 1b74373..dae6eb9 100644
--- a/l3kernel/testfiles/m3expl002.ptex.tlg
+++ b/l3kernel/testfiles/m3expl002.ptex.tlg
@@ -143,6 +143,8 @@ Don't change this file in any respect.
 \l__coffin_top_corner_dim=\dimen...
 \l__coffin_scaled_total_height_dim=\dimen...
 \l__coffin_scaled_width_dim=\dimen...
+\l__seq_internal_a_int=\count...
+\l__seq_internal_b_int=\count...
 ) (l3dvipdfmx.def
 \g__driver_image_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl002.tlg b/l3kernel/testfiles/m3expl002.tlg
index 6701ac5..44a3537 100644
--- a/l3kernel/testfiles/m3expl002.tlg
+++ b/l3kernel/testfiles/m3expl002.tlg
@@ -143,6 +143,8 @@ Don't change this file in any respect.
 \l__coffin_top_corner_dim=\dimen...
 \l__coffin_scaled_total_height_dim=\dimen...
 \l__coffin_scaled_width_dim=\dimen...
+\l__seq_internal_a_int=\count...
+\l__seq_internal_b_int=\count...
 ) (l3pdfmode.def
 \l__driver_color_stack_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl002.uptex.tlg b/l3kernel/testfiles/m3expl002.uptex.tlg
index b03cc03..ddb666b 100644
--- a/l3kernel/testfiles/m3expl002.uptex.tlg
+++ b/l3kernel/testfiles/m3expl002.uptex.tlg
@@ -141,6 +141,8 @@ Don't change this file in any respect.
 \l__coffin_top_corner_dim=\dimen...
 \l__coffin_scaled_total_height_dim=\dimen...
 \l__coffin_scaled_width_dim=\dimen...
+\l__seq_internal_a_int=\count...
+\l__seq_internal_b_int=\count...
 ) (l3dvipdfmx.def
 \g__driver_image_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index 1762238..05f4e29 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -5718,6 +5718,16 @@ Defining \seq_rand_item:N on line ...
 Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
+Defining \l__seq_internal_a_int on line ...
+\l__seq_internal_a_int=\count...
+Defining \l__seq_internal_b_int on line ...
+\l__seq_internal_b_int=\count...
+Defining \g__seq_internal_seq on line ...
+Defining \seq_shuffle:N on line ...
+Defining \seq_gshuffle:N on line ...
+Defining \__seq_shuffle:NN on line ...
+Defining \__seq_shuffle_item:n on line ...
+Defining message LaTeX/kernel/shuffle-too-large on line ...
 Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \sys_if_rand_exist:T on line ...
 Defining \sys_if_rand_exist:F on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index 171c10a..941ad8c 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -5711,6 +5711,16 @@ Defining \seq_rand_item:N on line ...
 Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
+Defining \l__seq_internal_a_int on line ...
+\l__seq_internal_a_int=\count...
+Defining \l__seq_internal_b_int on line ...
+\l__seq_internal_b_int=\count...
+Defining \g__seq_internal_seq on line ...
+Defining \seq_shuffle:N on line ...
+Defining \seq_gshuffle:N on line ...
+Defining \__seq_shuffle:NN on line ...
+Defining \__seq_shuffle_item:n on line ...
+Defining message LaTeX/kernel/shuffle-too-large on line ...
 Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \sys_if_rand_exist:T on line ...
 Defining \sys_if_rand_exist:F on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index b3adb05..7607121 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -5711,6 +5711,16 @@ Defining \seq_rand_item:N on line ...
 Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
+Defining \l__seq_internal_a_int on line ...
+\l__seq_internal_a_int=\count...
+Defining \l__seq_internal_b_int on line ...
+\l__seq_internal_b_int=\count...
+Defining \g__seq_internal_seq on line ...
+Defining \seq_shuffle:N on line ...
+Defining \seq_gshuffle:N on line ...
+Defining \__seq_shuffle:NN on line ...
+Defining \__seq_shuffle_item:n on line ...
+Defining message LaTeX/kernel/shuffle-too-large on line ...
 Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \sys_if_rand_exist:T on line ...
 Defining \sys_if_rand_exist:F on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index 2a6bd95..f2a9d1a 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -5709,6 +5709,16 @@ Defining \seq_rand_item:N on line ...
 Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
+Defining \l__seq_internal_a_int on line ...
+\l__seq_internal_a_int=\count...
+Defining \l__seq_internal_b_int on line ...
+\l__seq_internal_b_int=\count...
+Defining \g__seq_internal_seq on line ...
+Defining \seq_shuffle:N on line ...
+Defining \seq_gshuffle:N on line ...
+Defining \__seq_shuffle:NN on line ...
+Defining \__seq_shuffle_item:n on line ...
+Defining message LaTeX/kernel/shuffle-too-large on line ...
 Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \sys_if_rand_exist:T on line ...
 Defining \sys_if_rand_exist:F on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index ce46cb3..d700e9e 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -5692,6 +5692,8 @@ Defining \seq_rand_item:N on line ...
 Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
+Defining \seq_shuffle:N on line ...
+Defining \seq_gshuffle:N on line ...
 Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \sys_if_rand_exist:T on line ...
 Defining \sys_if_rand_exist:F on line ...
diff --git a/l3kernel/testfiles/m3expl004.luatex.tlg b/l3kernel/testfiles/m3expl004.luatex.tlg
index 322c730..4ac1b2d 100644
--- a/l3kernel/testfiles/m3expl004.luatex.tlg
+++ b/l3kernel/testfiles/m3expl004.luatex.tlg
@@ -142,6 +142,8 @@ Don't change this file in any respect.
 \l__coffin_top_corner_dim=\dimen...
 \l__coffin_scaled_total_height_dim=\dimen...
 \l__coffin_scaled_width_dim=\dimen...
+\l__seq_internal_a_int=\count...
+\l__seq_internal_b_int=\count...
 ) (l3pdfmode.def
 \l__driver_color_stack_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl004.ptex.tlg b/l3kernel/testfiles/m3expl004.ptex.tlg
index 1b74373..dae6eb9 100644
--- a/l3kernel/testfiles/m3expl004.ptex.tlg
+++ b/l3kernel/testfiles/m3expl004.ptex.tlg
@@ -143,6 +143,8 @@ Don't change this file in any respect.
 \l__coffin_top_corner_dim=\dimen...
 \l__coffin_scaled_total_height_dim=\dimen...
 \l__coffin_scaled_width_dim=\dimen...
+\l__seq_internal_a_int=\count...
+\l__seq_internal_b_int=\count...
 ) (l3dvipdfmx.def
 \g__driver_image_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl004.tlg b/l3kernel/testfiles/m3expl004.tlg
index 6701ac5..44a3537 100644
--- a/l3kernel/testfiles/m3expl004.tlg
+++ b/l3kernel/testfiles/m3expl004.tlg
@@ -143,6 +143,8 @@ Don't change this file in any respect.
 \l__coffin_top_corner_dim=\dimen...
 \l__coffin_scaled_total_height_dim=\dimen...
 \l__coffin_scaled_width_dim=\dimen...
+\l__seq_internal_a_int=\count...
+\l__seq_internal_b_int=\count...
 ) (l3pdfmode.def
 \l__driver_color_stack_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl004.uptex.tlg b/l3kernel/testfiles/m3expl004.uptex.tlg
index b03cc03..ddb666b 100644
--- a/l3kernel/testfiles/m3expl004.uptex.tlg
+++ b/l3kernel/testfiles/m3expl004.uptex.tlg
@@ -141,6 +141,8 @@ Don't change this file in any respect.
 \l__coffin_top_corner_dim=\dimen...
 \l__coffin_scaled_total_height_dim=\dimen...
 \l__coffin_scaled_width_dim=\dimen...
+\l__seq_internal_a_int=\count...
+\l__seq_internal_b_int=\count...
 ) (l3dvipdfmx.def
 \g__driver_image_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl006.luatex.tlg b/l3kernel/testfiles/m3expl006.luatex.tlg
index 1cd6a40..2219e05 100644
--- a/l3kernel/testfiles/m3expl006.luatex.tlg
+++ b/l3kernel/testfiles/m3expl006.luatex.tlg
@@ -143,6 +143,8 @@ Author: Bruno Le Floch and Joseph Wright
 \l__coffin_top_corner_dim=\dimen...
 \l__coffin_scaled_total_height_dim=\dimen...
 \l__coffin_scaled_width_dim=\dimen...
+\l__seq_internal_a_int=\count...
+\l__seq_internal_b_int=\count...
 ) (l3pdfmode.def
 \l__driver_color_stack_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl006.ptex.tlg b/l3kernel/testfiles/m3expl006.ptex.tlg
index d9f79bf..5d52d8a 100644
--- a/l3kernel/testfiles/m3expl006.ptex.tlg
+++ b/l3kernel/testfiles/m3expl006.ptex.tlg
@@ -144,6 +144,8 @@ Author: Bruno Le Floch and Joseph Wright
 \l__coffin_top_corner_dim=\dimen...
 \l__coffin_scaled_total_height_dim=\dimen...
 \l__coffin_scaled_width_dim=\dimen...
+\l__seq_internal_a_int=\count...
+\l__seq_internal_b_int=\count...
 ) (l3dvipdfmx.def
 \g__driver_image_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl006.tlg b/l3kernel/testfiles/m3expl006.tlg
index 71195fc..a471ba5 100644
--- a/l3kernel/testfiles/m3expl006.tlg
+++ b/l3kernel/testfiles/m3expl006.tlg
@@ -144,6 +144,8 @@ Author: Bruno Le Floch and Joseph Wright
 \l__coffin_top_corner_dim=\dimen...
 \l__coffin_scaled_total_height_dim=\dimen...
 \l__coffin_scaled_width_dim=\dimen...
+\l__seq_internal_a_int=\count...
+\l__seq_internal_b_int=\count...
 ) (l3pdfmode.def
 \l__driver_color_stack_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl006.uptex.tlg b/l3kernel/testfiles/m3expl006.uptex.tlg
index 9bb66ed..9f8a95d 100644
--- a/l3kernel/testfiles/m3expl006.uptex.tlg
+++ b/l3kernel/testfiles/m3expl006.uptex.tlg
@@ -142,6 +142,8 @@ Author: Bruno Le Floch and Joseph Wright
 \l__coffin_top_corner_dim=\dimen...
 \l__coffin_scaled_total_height_dim=\dimen...
 \l__coffin_scaled_width_dim=\dimen...
+\l__seq_internal_a_int=\count...
+\l__seq_internal_b_int=\count...
 ) (l3dvipdfmx.def
 \g__driver_image_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3seq009.lvt b/l3kernel/testfiles/m3seq009.lvt
new file mode 100644
index 0000000..e1bad22
--- /dev/null
+++ b/l3kernel/testfiles/m3seq009.lvt
@@ -0,0 +1,44 @@
+%
+% Copyright (C) 2018 LaTeX3 Project
+%
+
+\documentclass{minimal}
+\input{regression-test}
+
+% Leave some padding so that the line numbers
+% of the tests don't change later on.
+
+\RequirePackage[log-functions,native-drivers,check-declarations]{expl3}
+
+\begin{document}
+\START
+\AUTHOR{Bruno Le Floch}
+\ExplSyntaxOn
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\TEST { seq_shuffle }
+  {
+    \sys_gset_rand_seed:n { 12345 }
+    \cs_set_protected:Npn \test:n #1
+      {
+        \seq_set_from_function:NnN \l_tmpa_seq
+          { \int_step_function:nN {#1} } \use:n
+        \seq_shuffle:N \l_tmpa_seq
+        \int_compare:nNnF { \seq_count:N \l_tmpa_seq } = {#1} { \ERROR }
+      }
+    \group_begin:
+      \test:n { 0 }
+      \test:n { 1 }
+      \test:n { 10 }
+      \TYPE { \seq_use:Nn \l_tmpa_seq { , } }
+      \seq_gset_eq:NN \g_tmpb_seq \l_tmpa_seq
+      \seq_gshuffle:N \g_tmpb_seq
+    \group_end:
+    \TYPE { | \seq_use:Nn \l_tmpa_seq { , } | }
+    \TYPE { \seq_use:Nn \g_tmpb_seq { , } }
+  }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\END
diff --git a/l3experimental/l3str/testfiles/m3str-convert003.tlg b/l3kernel/testfiles/m3seq009.tlg
similarity index 82%
copy from l3experimental/l3str/testfiles/m3str-convert003.tlg
copy to l3kernel/testfiles/m3seq009.tlg
index c89276a..fca8069 100644
--- a/l3experimental/l3str/testfiles/m3str-convert003.tlg
+++ b/l3kernel/testfiles/m3seq009.tlg
@@ -2,7 +2,9 @@ This is a generated file for the LaTeX (2e + expl3) validation system.
 Don't change this file in any respect.
 Author: Bruno Le Floch
 ============================================================
-TEST 1: str if contains char
+TEST 1: seq_shuffle
 ============================================================
-FALSE TRUE FALSE FALSE TRUE
+7,1,8,9,3,10,4,6,2,5
+||
+4,5,3,9,6,7,2,1,10,8
 ============================================================
diff --git a/l3kernel/testfiles/m3seq009.xetex.tlg b/l3kernel/testfiles/m3seq009.xetex.tlg
new file mode 100644
index 0000000..b7cb208
--- /dev/null
+++ b/l3kernel/testfiles/m3seq009.xetex.tlg
@@ -0,0 +1,86 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+Author: Bruno Le Floch
+============================================================
+TEST 1: seq_shuffle
+============================================================
+! Undefined control sequence.
+\sys_gset_rand_seed:n #1->\pdftex_setrandomseed:D 
+                                                  \int_eval:n {#1}\exp_stop_f: l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!
+! LaTeX error: "kernel/fp-no-random"
+! 
+! Random numbers unavailable
+! 
+! See the LaTeX3 documentation for further information.
+! 
+! Type <return> to continue.
+!...............................................  
+l. ...  }
+|'''''''''''''''''''''''''''''''''''''''''''''''
+| LaTeX does not know anything more about this error, sorry.
+| 
+| Try typing <return> to proceed.
+| If that doesn't work, type X <return> to quit.
+|...............................................
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!
+! LaTeX error: "kernel/fp-no-random"
+! 
+! Random numbers unavailable
+! 
+! See the LaTeX3 documentation for further information.
+! 
+! Type <return> to continue.
+!...............................................  
+l. ...  }
+|'''''''''''''''''''''''''''''''''''''''''''''''
+| LaTeX does not know anything more about this error, sorry.
+| 
+| Try typing <return> to proceed.
+| If that doesn't work, type X <return> to quit.
+|...............................................
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!
+! LaTeX error: "kernel/fp-no-random"
+! 
+! Random numbers unavailable
+! 
+! See the LaTeX3 documentation for further information.
+! 
+! Type <return> to continue.
+!...............................................  
+l. ...  }
+|'''''''''''''''''''''''''''''''''''''''''''''''
+| LaTeX does not know anything more about this error, sorry.
+| 
+| Try typing <return> to proceed.
+| If that doesn't work, type X <return> to quit.
+|...............................................
+1,2,3,4,5,6,7,8,9,10
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!
+! LaTeX error: "kernel/fp-no-random"
+! 
+! Random numbers unavailable
+! 
+! See the LaTeX3 documentation for further information.
+! 
+! Type <return> to continue.
+!...............................................  
+l. ...  }
+|'''''''''''''''''''''''''''''''''''''''''''''''
+| LaTeX does not know anything more about this error, sorry.
+| 
+| Try typing <return> to proceed.
+| If that doesn't work, type X <return> to quit.
+|...............................................
+||
+1,2,3,4,5,6,7,8,9,10
+============================================================





More information about the latex3-commits mailing list