Removed test for parameters which is no longer needed due to shape fitter
This commit is contained in:
parent
25c773b411
commit
4c30dbfc6f
@ -80,23 +80,6 @@ namespace FastRngTests.Double.Distributions
|
|||||||
Assert.That(samples.Max(), Is.LessThanOrEqualTo(1.0), "Max is out of range");
|
Assert.That(samples.Max(), Is.LessThanOrEqualTo(1.0), "Max is out of range");
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
|
||||||
[Category(TestCategories.COVER)]
|
|
||||||
[Category(TestCategories.NORMAL)]
|
|
||||||
public void ParameterTest01()
|
|
||||||
{
|
|
||||||
var dist = new FastRng.Double.Distributions.Normal();
|
|
||||||
|
|
||||||
Assert.DoesNotThrow(() => dist.Mean = -45);
|
|
||||||
Assert.DoesNotThrow(() => dist.Mean = 15);
|
|
||||||
Assert.DoesNotThrow(() => dist.Mean = 0);
|
|
||||||
|
|
||||||
Assert.Throws<ArgumentOutOfRangeException>(() => dist.StandardDeviation = 0);
|
|
||||||
Assert.Throws<ArgumentOutOfRangeException>(() => dist.StandardDeviation = -78);
|
|
||||||
Assert.DoesNotThrow(() => dist.StandardDeviation = 0.0001);
|
|
||||||
Assert.DoesNotThrow(() => dist.StandardDeviation = 4);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
[Category(TestCategories.COVER)]
|
[Category(TestCategories.COVER)]
|
||||||
[Category(TestCategories.NORMAL)]
|
[Category(TestCategories.NORMAL)]
|
||||||
|
Loading…
Reference in New Issue
Block a user