Changeset 7519


Ignore:
Timestamp:
02/24/12 13:48:06 (7 years ago)
Author:
abeham
Message:

#1770

  • Fixed default ctor of OnemaxProblem
  • Added unit test to instantiate all creatables
Location:
trunk/sources
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.OneMax/3.3/OnemaxProblem.cs

    r7351 r7519  
    8080      Maximization.Value = true;
    8181      MaximizationParameter.Hidden = true;
    82       BestKnownQuality.Value = 5;
     82      BestKnownQuality = new DoubleValue(5);
    8383
    8484      SolutionCreator.BinaryVectorParameter.ActualName = "OneMaxSolution";
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Tests.csproj

    r7508 r7519  
    165165    </Reference>
    166166    <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
    167       <Private>True</Private>
     167      <Private>False</Private>
    168168    </Reference>
    169169    <Reference Include="Netron.Diagramming.Core-3.0.2672.12446, Version=3.0.2672.12446, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
     
    194194    <Compile Include="HeuristicLab-3.3\DeepCloneableCloningTest.cs" />
    195195    <Compile Include="HeuristicLab-3.3\GeneticAlgorithmTest.cs" />
     196    <Compile Include="HeuristicLab-3.3\InstantiateCreatablesTest.cs" />
    196197    <Compile Include="HeuristicLab-3.3\PluginDependenciesTest.cs" />
    197198    <Compile Include="HeuristicLab-3.3\PluginLoader.cs" />
Note: See TracChangeset for help on using the changeset viewer.