Fixed tolerance of expected variance
This commit is contained in:
1 parent
a9e89070b8
commit
0a61f0da37
1 file changed
+1
-1
@@ -33,7 +33,7 @@ namespace FastRngTests.Double.Distributions
|
||||
TestContext.WriteLine($"variance={STANDARD_DEVIATION * STANDARD_DEVIATION} vs {stats.Variance}");
|
||||
|
||||
Assert.That(stats.Mean, Is.EqualTo(MEAN).Within(0.4), "Mean is out of range");
|
||||
Assert.That(stats.Variance, Is.EqualTo(STANDARD_DEVIATION*STANDARD_DEVIATION).Within(0.4), "Variance is out of range");
|
||||
Assert.That(stats.Variance, Is.EqualTo(STANDARD_DEVIATION*STANDARD_DEVIATION).Within(0.1), "Variance is out of range");
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in new issue
Block a user