beacon_chain/utils/shuffling: Introduce test vectors from sigp/shuffling_sandbox

Also:
 - return early if we shuffle an empty list
 - change RAND_MAX as per spec
This commit is contained in:
pinkiebell
2018-10-20 18:39:10 +02:00
parent 2fb9dfbf14
commit 5252b54a04
4 changed files with 212 additions and 8 deletions

View File

@@ -5,3 +5,6 @@ authors = ["Paul Hauner <paul@paulhauner.com>"]
[dependencies]
hashing = { path = "../hashing" }
[dev-dependencies]
yaml-rust = "0.4.2"