public void Sigma_WrongValues(double d) { Assert.False(RayleighDistribution.IsValidParam(d)); Assert.False(Dist.IsValidSigma(d)); Assert.Throws <ArgumentOutOfRangeException>(() => { Dist.Sigma = d; }); }
public void Sigma_WrongValues(double d) { Assert.False(LogisticDistribution.AreValidParams(1, d)); Assert.False(Dist.IsValidSigma(d)); Assert.Throws <ArgumentOutOfRangeException>(() => { Dist.Sigma = d; }); }