Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/30/11 18:05:49 (14 years ago)
Author:
gkronber
Message:

#1418 adapted limit for failed events in unit test for ArgumentCreater

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Tests/ArgumentCreaterTest.cs

    r5809 r5895  
    6767      // difficult to make sure that create argument operations succeed because trees are macro-expanded can potentially become very big
    6868      // => just test if only a small proportion fails
    69       Assert.IsTrue(failedOps < POPULATION_SIZE * 0.01); // only 1% may fail
     69      Assert.IsTrue(failedOps < POPULATION_SIZE * 0.05); // only 5% may fail
    7070      Console.WriteLine("ArgumentCreator: " + Environment.NewLine +
    7171        "Failed operations: " + failedOps * 100.0 / POPULATION_SIZE + " %" + Environment.NewLine +
Note: See TracChangeset for help on using the changeset viewer.