- Timestamp:
- 11/11/14 12:33:18 (10 years ago)
- Location:
- stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 11430
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 11430
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/SymbolicDataAnalysisExpressionTreeInterpreterTest.cs
r11170 r11534 339 339 Evaluate(interpreter, ds, "(xor 1.0 2.0 3.0)", 0, 1.0); 340 340 Evaluate(interpreter, ds, "(xor (log -1.0))", 0, -1.0); 341 Evaluate(interpreter, ds, "(xor (log -1.0) 1.0)", 0, 1.0); 341 Evaluate(interpreter, ds, "(xor (log -1.0) 1.0)", 0, 1.0); 342 342 343 343 // sin, cos, tan … … 478 478 Assert.IsFalse(double.IsNaN(actual) && !double.IsNaN(expected)); 479 479 Assert.IsFalse(!double.IsNaN(actual) && double.IsNaN(expected)); 480 Assert.AreEqual(expected, actual, 1.0E-12, expr); 480 if (!double.IsNaN(actual) && !double.IsNaN(expected)) 481 Assert.AreEqual(expected, actual, 1.0E-12, expr); 481 482 } 482 483 } -
stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic.TimeSeriesPrognosis-3.4/SymbolicDataAnalysisExpressionTreeInterpreterTest.cs
r11170 r11534 338 338 Assert.IsFalse(double.IsNaN(actual) && !double.IsNaN(expected)); 339 339 Assert.IsFalse(!double.IsNaN(actual) && double.IsNaN(expected)); 340 Assert.AreEqual(expected, actual, 1.0E-12, expr); 340 if (!double.IsNaN(actual) && !double.IsNaN(expected)) 341 Assert.AreEqual(expected, actual, 1.0E-12, expr); 341 342 } 342 343 }
Note: See TracChangeset
for help on using the changeset viewer.