Changeset 15076
- Timestamp:
- 06/28/17 15:15:03 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/PsoSchwefelSampleTest.cs
r14185 r15076 52 52 SamplesUtils.RunAlgorithm(pso); 53 53 if (!Environment.Is64BitProcess) { 54 Assert.AreEqual(118.4 4027985932837, SamplesUtils.GetDoubleResult(pso, "BestQuality"));55 Assert.AreEqual(1 40.71570105946438, SamplesUtils.GetDoubleResult(pso, "CurrentAverageQuality"));56 Assert.AreEqual( 220.956806502853, SamplesUtils.GetDoubleResult(pso, "CurrentWorstQuality"));54 Assert.AreEqual(118.43840301792932, SamplesUtils.GetDoubleResult(pso, "BestQuality")); 55 Assert.AreEqual(118.86062846097485, SamplesUtils.GetDoubleResult(pso, "CurrentAverageQuality")); 56 Assert.AreEqual(120.41419835105029, SamplesUtils.GetDoubleResult(pso, "CurrentWorstQuality")); 57 57 Assert.AreEqual(1000, SamplesUtils.GetIntResult(pso, "Iterations")); 58 58 } else { 59 Assert.AreEqual(118.43 958282879345, SamplesUtils.GetDoubleResult(pso, "BestQuality"));60 Assert.AreEqual(1 39.43946864779372, SamplesUtils.GetDoubleResult(pso, "CurrentAverageQuality"));61 Assert.AreEqual( 217.14654589055152, SamplesUtils.GetDoubleResult(pso, "CurrentWorstQuality"));59 Assert.AreEqual(118.43840301792932, SamplesUtils.GetDoubleResult(pso, "BestQuality")); 60 Assert.AreEqual(118.86062846097485, SamplesUtils.GetDoubleResult(pso, "CurrentAverageQuality")); 61 Assert.AreEqual(120.41419835105029, SamplesUtils.GetDoubleResult(pso, "CurrentWorstQuality")); 62 62 Assert.AreEqual(1000, SamplesUtils.GetIntResult(pso, "Iterations")); 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.