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

This commit is contained in:
tsommer committed 2020-09-30 20:21:02 +02:00
1 parent c1f13de904
commit 1a8741aa54
1 file changed
-18
-18
View File
@@ -83,24 +83,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.Beta();
Assert.Throws<ArgumentOutOfRangeException>(() => dist.A = 0);
Assert.Throws<ArgumentOutOfRangeException>(() => dist.A = -78);
Assert.DoesNotThrow(() => dist.A = 0.0001);
Assert.DoesNotThrow(() => dist.A = 4);
Assert.Throws<ArgumentOutOfRangeException>(() => dist.B = 0);
Assert.Throws<ArgumentOutOfRangeException>(() => dist.B = -78);
Assert.DoesNotThrow(() => dist.B = 0.0001);
Assert.DoesNotThrow(() => dist.B = 4);
}
[Test]
[Category(TestCategories.COVER)]
[Category(TestCategories.NORMAL)]