public void Lambda_WrongValues(double d) { Assert.False(ErlangDistribution.AreValidParams(1, d)); Assert.False(Dist.IsValidLambda(d)); Assert.Throws <ArgumentOutOfRangeException>(() => { Dist.Lambda = d; }); }