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); }
public Hash CreateHash(String hashIdentifier) { return(CreateHash(hashIdentifier, m_Random.NextValue())); }