Example #1
0
        public void ValueTest(UInt32 seed, UInt32 expectedValue)
        {
            RandomXorShift random      = new RandomXorShift(seed);
            UInt32         actualValue = random.NextValue();

            m_Output.WriteLine($"EXPECTED={expectedValue}");
            m_Output.WriteLine($"ACTUAL={actualValue}");

            Assert.Equal(expectedValue, actualValue);
        }
Example #2
0
 public Hash CreateHash(String hashIdentifier)
 {
     return(CreateHash(hashIdentifier, m_Random.NextValue()));
 }