Branch: Tag:

2014-12-06

2014-12-06 11:18:48 by Arne Goedeke <el@laramies.com>

Testsuite: remove tests that expect random_seed to work

603:   test_equal(Array.shuffle(({})), ({}))   test_equal(Array.shuffle(({1})), ({1}))   test_any([[ -  random_seed(4711); +     array b = Array.shuffle(Array.enumerate(1000)); -  random_seed(4711); +     // There is a chance in 1000! (aprox. 4E2568) that this fails of    // natural causes. -  return equal(b, Array.shuffle(Array.enumerate(1000))) && -  !equal(Array.enumerate(1000),b); +  return !equal(b, Array.shuffle(Array.enumerate(1000)));   ]], 1);   test_true( equal(Array.enumerate(1000),sort(Array.shuffle(Array.enumerate(1000)))) )