Changeset 18163 for branches/2994-AutoDiffForIntervals/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4
- Timestamp:
- 12/21/21 08:51:49 (3 years ago)
- Location:
- branches/2994-AutoDiffForIntervals/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2994-AutoDiffForIntervals/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/IntervalEvaluatorTest.cs
r17319 r18163 188 188 [TestCategory("Problems.DataAnalysis")] 189 189 [TestProperty("Time", "short")] 190 public void IntervalEvaluatorSqrAndDi ff() {190 public void IntervalEvaluatorSqrAndDiv() { 191 191 Dictionary<string, Interval> dataIntervals = new Dictionary<string, Interval>() { 192 192 {"R", new Interval(0.2, 0.5) }, -
branches/2994-AutoDiffForIntervals/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/IntervalInterpreterTest.cs
r17318 r18163 154 154 } 155 155 156 [TestMethod] 157 [TestCategory("Problems.DataAnalysis.Symbolic")] 158 [TestProperty("Time", "short")] 159 public void IntervalInterpreterAQ() { 160 var variableRanges = new Dictionary<string, Interval>(); 161 variableRanges.Add("c1", new Interval(1, 1)); 162 variableRanges.Add("c2", new Interval(2, 2)); 163 164 EvaluateTest("aq(c1, c2)", new Interval(1.0 / Math.Sqrt(5), 1.0 / Math.Sqrt(5)), variableRanges); // aq(a, b) = a / sqrt(1+b²) 165 } 166 156 167 157 168 [TestMethod]
Note: See TracChangeset
for help on using the changeset viewer.