@Test
public void testDateConstructor() {

  RandomEngine r1 = new MersenneTwister(1275264362);
  RandomEngine r2 = new MersenneTwister(new Date(1275264362));
  for (int i = 0; i < 100; i++) {
    assertEquals("date-"+i, r1.nextInt(), r2.nextInt());
  }
}