Removed test for parameters which is no longer needed due to shape fitter

This commit is contained in:
Thorsten Sommer 2020-09-29 20:32:27 +02:00
parent 25c773b411
commit 4c30dbfc6f

View File

@ -80,23 +80,6 @@ namespace FastRngTests.Double.Distributions
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]
[Category(TestCategories.COVER)]
[Category(TestCategories.NORMAL)]