Skip to content

Commit 6b1a2c7

Browse files
committed
Removed not proper MemoryConsumption test.
1 parent 5990acf commit 6b1a2c7

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

MathExpressions.NET.Tests/MathFuncCompilationTests.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,6 @@ public void Init()
1818
Helper.InitDefaultDerivatives();
1919
}
2020

21-
[Test]
22-
public void MemoryConsumption()
23-
{
24-
for (int i = 0; i < 10000000; i++)
25-
{
26-
using (var mathAssembly = new MathAssembly("x ^ 2", "x"))
27-
{
28-
Assert.AreEqual(25, mathAssembly.Func(5));
29-
}
30-
}
31-
}
32-
3321
[Test]
3422
public void CompileFunc()
3523
{
@@ -42,7 +30,6 @@ public void CompileFunc()
4230
}
4331

4432
[Test]
45-
[Ignore]
4633
public void CompileFuncWithParameter()
4734
{
4835
var expectedFunc = new Func<double, double, double, double>((x, a, b) =>

0 commit comments

Comments
 (0)