forked from tsai/mathnet-numerics
Browse Source
* I suspect they fail because the algorithm doesn't work well for those test cases, not that there is an implementation error. But this suspicion has not been verified.unified_optimization
4 changed files with 49 additions and 0 deletions
@ -0,0 +1,20 @@ |
|||||
|
using NUnit.Framework; |
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Linq; |
||||
|
using System.Text; |
||||
|
using System.Threading.Tasks; |
||||
|
|
||||
|
namespace MathNet.Numerics.UnitTests.OptimizationTests |
||||
|
{ |
||||
|
internal static class TestCaseDataExtensions |
||||
|
{ |
||||
|
public static TestCaseData IgnoreIf(this TestCaseData input, bool do_ignore, string reason) |
||||
|
{ |
||||
|
if (do_ignore) |
||||
|
return input.Ignore(reason); |
||||
|
else |
||||
|
return input; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue