Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/23/15 09:09:04 (9 years ago)
Author:
gkronber
Message:

#2472: fixed lawn mower sample

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPLawnMowerSampleTest.cs

    r13057 r13058  
    3737      SamplesUtils.RunAlgorithm(ga);
    3838      Assert.AreEqual(55, SamplesUtils.GetDoubleResult(ga, "BestQuality"));
    39       Assert.AreEqual(49, 266, SamplesUtils.GetDoubleResult(ga, "CurrentAverageQuality"));
     39      Assert.AreEqual(49.266, SamplesUtils.GetDoubleResult(ga, "CurrentAverageQuality"));
    4040      Assert.AreEqual(1, SamplesUtils.GetDoubleResult(ga, "CurrentWorstQuality"));
    4141      Assert.AreEqual(50950, SamplesUtils.GetIntResult(ga, "EvaluatedSolutions"));
Note: See TracChangeset for help on using the changeset viewer.