Removed test for parameters which is no longer needed due to shape fitter
This commit is contained in:
parent
c1f13de904
commit
1a8741aa54
@ -83,24 +83,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.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]
|
[Test]
|
||||||
[Category(TestCategories.COVER)]
|
[Category(TestCategories.COVER)]
|
||||||
[Category(TestCategories.NORMAL)]
|
[Category(TestCategories.NORMAL)]
|
||||||
|
Loading…
Reference in New Issue
Block a user