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