Changeset 17290
- Timestamp:
- 10/02/19 14:07:25 (5 years ago)
- Location:
- branches/2994-AutoDiffForIntervals/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis-3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2994-AutoDiffForIntervals/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis-3.4/AutoDiffIntervalTest.cs
r17212 r17290 215 215 public void TestIntervalCbrtOperator() { 216 216 AssertAreEqualInterval(new AlgebraicInterval(1, 2), CubicRoot(new AlgebraicInterval(1, 8))); 217 AssertAreEqualInterval(new AlgebraicInterval( double.NaN, double.NaN), CubicRoot(new AlgebraicInterval(-8, -1)));217 AssertAreEqualInterval(new AlgebraicInterval(-2, -1), CubicRoot(new AlgebraicInterval(-8, -1))); 218 218 } 219 219 -
branches/2994-AutoDiffForIntervals/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis-3.4/IntervalTest.cs
r16646 r17290 159 159 public void TestIntervalCbrtOperator() { 160 160 Assert.AreEqual<Interval>(new Interval(1, 2), Interval.CubicRoot(new Interval(1, 8))); 161 Assert.AreEqual<Interval>(new Interval( double.NaN, double.NaN), Interval.CubicRoot(new Interval(-8, -1)));161 Assert.AreEqual<Interval>(new Interval(-2, -1), Interval.CubicRoot(new Interval(-8, -1))); 162 162 } 163 163 }
Note: See TracChangeset
for help on using the changeset viewer.