Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5921 for trunk


Ignore:
Timestamp:
04/01/11 08:48:09 (14 years ago)
Author:
mkommend
Message:

#1418: Fixed broken SymbolicRegressionUnitTest.

File:
1 edited

Legend:

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

    r5884 r5921  
    6666      TestContext.WriteLine("Runtime: {0}", ga.ExecutionTime.ToString());
    6767
    68       double expectedValidationQuality = 0.72232929212380248;
    69       double expectedBestQuality = 0.67404328905620081;
    70       double expectedAverageQuality = 0.43099606868788487;
     68      double expectedValidationQuality = 0.74993359405662341;
     69      double expectedBestQuality = 0.718883694431814551;
     70      double expectedAverageQuality = 0.46786781419079804;
    7171      double expectedWorstQuality = 0;
    7272      double bestQuality = (ga.Results["CurrentBestQuality"].Value as DoubleValue).Value;
     
    8181      TestContext.WriteLine("Best valdidation solution quality: {0} (should be {1})", bestValidationSolutionQuality, expectedValidationQuality);
    8282
    83       Assert.AreEqual(bestQuality, expectedBestQuality);
    84       Assert.AreEqual(averageQuality, expectedAverageQuality);
    85       Assert.AreEqual(worstQuality, expectedWorstQuality);
    86       Assert.AreEqual(bestValidationSolutionQuality, expectedValidationQuality);
     83      Assert.AreEqual(expectedBestQuality, bestQuality);
     84      Assert.AreEqual(expectedAverageQuality, averageQuality);
     85      Assert.AreEqual(expectedWorstQuality, worstQuality);
     86      Assert.AreEqual(expectedValidationQuality, bestValidationSolutionQuality);
    8787    }
    8888
Note: See TracChangeset for help on using the changeset viewer.