From 4c30dbfc6f70416edae66c8d3a8e88055faee5f2 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Tue, 29 Sep 2020 20:32:27 +0200 Subject: [PATCH] Removed test for parameters which is no longer needed due to shape fitter --- FastRngTests/Double/Distributions/Normal.cs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/FastRngTests/Double/Distributions/Normal.cs b/FastRngTests/Double/Distributions/Normal.cs index cb5a310..e785020 100644 --- a/FastRngTests/Double/Distributions/Normal.cs +++ b/FastRngTests/Double/Distributions/Normal.cs @@ -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(() => dist.StandardDeviation = 0); - Assert.Throws(() => dist.StandardDeviation = -78); - Assert.DoesNotThrow(() => dist.StandardDeviation = 0.0001); - Assert.DoesNotThrow(() => dist.StandardDeviation = 4); - } - [Test] [Category(TestCategories.COVER)] [Category(TestCategories.NORMAL)]