oscoin / osrank-rs

A pre-alpha osrank implementation in Rust.
http://oscoin.io/
3 stars 3 forks source link

Add a test to ensure that two runs of the algorithm, with the same initial seed, yield the same result #61

Closed adinapoli-mndc closed 5 years ago

adinapoli-mndc commented 5 years ago

The osrank algorithm needs to be deterministic, which means that two runs of the same algorithm, with the same initial SeedableRng::Seed should yield the same results.

We should add a unit test to make sure this is the case.