- Timestamp:
- 07/10/17 17:26:43 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/PsoSchwefelSampleTest.cs
r15096 r15181 52 52 SamplesUtils.RunAlgorithm(pso); 53 53 if (Environment.Is64BitProcess) { 54 Assert.AreEqual(2. 8334909529803554E-08, SamplesUtils.GetDoubleResult(pso, "BestQuality"));55 Assert.AreEqual( 128.08680460446624, SamplesUtils.GetDoubleResult(pso, "CurrentAverageQuality"));56 Assert.AreEqual( 713.67728101375587, SamplesUtils.GetDoubleResult(pso, "CurrentWorstQuality"));54 Assert.AreEqual(2.6641411068339949E-05, SamplesUtils.GetDoubleResult(pso, "BestQuality")); 55 Assert.AreEqual(94.28800902426002, SamplesUtils.GetDoubleResult(pso, "CurrentAverageQuality")); 56 Assert.AreEqual(992.93251114761892, SamplesUtils.GetDoubleResult(pso, "CurrentWorstQuality")); 57 57 Assert.AreEqual(200, SamplesUtils.GetIntResult(pso, "Iterations")); 58 58 } else { 59 Assert.AreEqual(2. 8334909529803554E-08, SamplesUtils.GetDoubleResult(pso, "BestQuality"));60 Assert.AreEqual( 128.08680460446624, SamplesUtils.GetDoubleResult(pso, "CurrentAverageQuality"));61 Assert.AreEqual( 713.67728101375587, SamplesUtils.GetDoubleResult(pso, "CurrentWorstQuality"));59 Assert.AreEqual(2.6641411068339949E-05, SamplesUtils.GetDoubleResult(pso, "BestQuality")); 60 Assert.AreEqual(94.28800902426002, SamplesUtils.GetDoubleResult(pso, "CurrentAverageQuality")); 61 Assert.AreEqual(992.93251114761892, SamplesUtils.GetDoubleResult(pso, "CurrentWorstQuality")); 62 62 Assert.AreEqual(200, SamplesUtils.GetIntResult(pso, "Iterations")); 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.