XorshiftRNG extends AbstractRNG { @Override public int nextInt() { int t = (m_x ^ (m_x << 11)); m_x = m_y; m_y = m_z; m_z = m_w; m_w = (m_w ^ (m_w >>> 19)) ^ (t ^ (t >>> 8)); return m_w; } XorshiftRNG(final int seed); static XorshiftRNG fromSystemNanoTime(); @Override int nextInt();  }
@Test(expected = IllegalArgumentException.class) public void testNextIntNegativeBound() { createRNG().nextInt(-1); }