Browse Source
Merge pull request #712 from Evangelink/use-test-parameter-rayleigh
Fix RayleightTests.ValidateMaximum test to use testcase parameter
pull/729/head
Christoph Ruegg
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Numerics.Tests/DistributionTests/Continuous/RayleighTests.cs
|
|
|
@ -201,7 +201,7 @@ namespace MathNet.Numerics.UnitTests.DistributionTests.Continuous |
|
|
|
[TestCase(Double.PositiveInfinity)] |
|
|
|
public void ValidateMaximum(double scale) |
|
|
|
{ |
|
|
|
var n = new Rayleigh(1.0); |
|
|
|
var n = new Rayleigh(scale); |
|
|
|
Assert.AreEqual(Double.PositiveInfinity, n.Maximum); |
|
|
|
} |
|
|
|
|
|
|
|
|