@Test
public void testSetState() {

  Exponential dist = new Exponential(13.0, null);
  for (double lambda = 0.1; lambda < 1000; lambda *= 1.3) {
    dist.setState(lambda);
    checkPdf(dist, lambda);
  }
}