Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/24/11 18:23:08 (13 years ago)
Author:
gkronber
Message:

#1553: fixed result values in assertions for the unit test of the PSO_Schwefel sample.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab/3.3/Tests/SamplesTest.cs

    r6476 r6477  
    624624      pso.SetSeedRandomly.Value = false;
    625625      RunAlgorithm(pso);
    626       Assert.AreEqual(119.33873327772062, GetDoubleResult(pso, "BestQuality"));
     626      Assert.AreEqual(119.30888659302838, GetDoubleResult(pso, "BestQuality"));
    627627      Assert.AreEqual(140.71570105946438, GetDoubleResult(pso, "CurrentAverageQuality"));
    628628      Assert.AreEqual(220.956806502853, GetDoubleResult(pso, "CurrentWorstQuality"));
     
    844844      Assert.AreEqual(867, GetDoubleResult(vns, "CurrentAverageQuality"));
    845845      Assert.AreEqual(867, GetDoubleResult(vns, "CurrentWorstQuality"));
    846       Assert.AreEqual(12975173, GetIntResult(vns, "EvaluatedMoves"));
     846      Assert.AreEqual(12975173, GetIntResult(vns, "EvaluatedSolutions"));
    847847    }
    848848
Note: See TracChangeset for help on using the changeset viewer.