public void DistributionFunctionTest2()
{
var target = GeneralizedNormalDistribution.Laplace(location: 0.42, scale: 4.2);
var normal = new LaplaceDistribution(location: 0.42, scale: 4.2);
for (double x = -10; x < 10; x += 0.0001)
{
double actual = target.DistributionFunction(x);
double expected = normal.DistributionFunction(x);
Assert.AreEqual(expected, actual, 1e-15);
Assert.IsFalse(Double.IsNaN(actual));
}
}