Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6850


Ignore:
Timestamp:
09/29/11 13:52:17 (13 years ago)
Author:
mkommend
Message:

#1653: Corrected unit test and adapte prebuild event.

Location:
branches/Trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/Trunk/HeuristicLab.Tests/HeuristicLab-3.3/SymbolicRegressionTest.cs

    r6844 r6850  
    6666      TestContext.WriteLine("Runtime: {0}", ga.ExecutionTime.ToString());
    6767
    68       double expectedValidationQuality = 0.72902735951261033;
    69       double expectedBestQuality = 0.68726148410052335;
    70       double expectedAverageQuality = 0.50555375244787948;
     68      double expectedValidationQuality = 0.76055761244321707;
     69      double expectedBestQuality = 0.728252514650427;
     70      double expectedAverageQuality = 0.44404977994074729;
    7171      double expectedWorstQuality = 0;
    7272      double bestQuality = (ga.Results["CurrentBestQuality"].Value as DoubleValue).Value;
     
    7979      TestContext.WriteLine("CurrentAverageQuality: {0} (should be {1})", averageQuality, expectedAverageQuality);
    8080      TestContext.WriteLine("CurrentWorstQuality: {0} (should be {1})", worstQuality, expectedWorstQuality);
    81       TestContext.WriteLine("Best valdidation solution quality: {0} (should be {1})", bestValidationSolutionQuality, expectedValidationQuality);
     81      TestContext.WriteLine("Best validation solution quality: {0} (should be {1})", bestValidationSolutionQuality, expectedValidationQuality);
    8282
    8383      Assert.AreEqual(expectedBestQuality, bestQuality);
  • branches/Trunk/PreBuildEvent.cmd

    r6848 r6850  
    1 REM IF EXIST "%ProjectDir%\Properties\AssemblyInfo.cs.frame" SubWCRev "%ProjectDir%\" "%ProjectDir%\Properties\AssemblyInfo.cs.frame" "%ProjectDir%\Properties\AssemblyInfo.cs"
    2 REM IF EXIST "%ProjectDir%\Plugin.cs.frame" SubWCRev "%ProjectDir%\" "%ProjectDir%\Plugin.cs.frame" "%ProjectDir%\Plugin.cs"
     1IF EXIST "%ProjectDir%\Properties\AssemblyInfo.cs.frame" SubWCRev "%ProjectDir%\" "%ProjectDir%\Properties\AssemblyInfo.cs.frame" "%ProjectDir%\Properties\AssemblyInfo.cs"
     2IF EXIST "%ProjectDir%\Plugin.cs.frame" SubWCRev "%ProjectDir%\" "%ProjectDir%\Plugin.cs.frame" "%ProjectDir%\Plugin.cs"
Note: See TracChangeset for help on using the changeset viewer.