- Timestamp:
- 04/28/21 12:26:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Tests/HeuristicLab-3.3/Samples/ShapeConstrainedRegressionSampleTest.cs
r17965 r17968 46 46 SamplesUtils.RunAlgorithm(ga); 47 47 48 Assert.AreEqual(0.317642788600248, SamplesUtils.GetDoubleResult(ga, "BestQuality"), 1E-8); 49 Assert.AreEqual(40.9805778810063, SamplesUtils.GetDoubleResult(ga, "CurrentAverageQuality"), 1E-8); 50 Assert.AreEqual(3359.91748220025, SamplesUtils.GetDoubleResult(ga, "CurrentWorstQuality"), 1E-8); 51 Assert.AreEqual(150200, SamplesUtils.GetIntResult(ga, "EvaluatedSolutions")); 48 if (Environment.Is64BitProcess) { 49 Assert.AreEqual(0.355347729912352, SamplesUtils.GetDoubleResult(ga, "BestQuality"), 1E-8); 50 Assert.AreEqual(27.6606834433137, SamplesUtils.GetDoubleResult(ga, "CurrentAverageQuality"), 1E-8); 51 Assert.AreEqual(3359.91748220025, SamplesUtils.GetDoubleResult(ga, "CurrentWorstQuality"), 1E-8); 52 Assert.AreEqual(150200, SamplesUtils.GetIntResult(ga, "EvaluatedSolutions")); 53 } else { 54 Assert.AreEqual(0.317642788600248, SamplesUtils.GetDoubleResult(ga, "BestQuality"), 1E-8); 55 Assert.AreEqual(40.9805778810063, SamplesUtils.GetDoubleResult(ga, "CurrentAverageQuality"), 1E-8); 56 Assert.AreEqual(3359.91748220025, SamplesUtils.GetDoubleResult(ga, "CurrentWorstQuality"), 1E-8); 57 Assert.AreEqual(150200, SamplesUtils.GetIntResult(ga, "EvaluatedSolutions")); 58 } 52 59 } 53 60
Note: See TracChangeset
for help on using the changeset viewer.