public void Gamma_WrongValues(double d) { Assert.False(CauchyDistribution.AreValidParams(1, d)); Assert.False(Dist.IsValidGamma(d)); Assert.Throws <ArgumentOutOfRangeException>(() => { Dist.Gamma = d; }); }