Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/06/11 11:15:07 (14 years ago)
Author:
mkommend
Message:

#1453: Added error state assert in OnlineCalculatorPerformanceTest.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Tests/OnlineCalculatorPerformanceTest.cs

    r5952 r5963  
    7575      var twister = new MersenneTwister(31415);
    7676      var dataset = CreateRandomDataset(twister, Rows, Columns);
    77       var errorState = new OnlineCalculatorError();
     77      OnlineCalculatorError errorState = OnlineCalculatorError.None; ;
    7878
    7979      Stopwatch watch = new Stopwatch();
     
    8181      for (int i = 0; i < Repetitions; i++) {
    8282        double value = calculateFunc(dataset.GetEnumeratedVariableValues(0), dataset.GetEnumeratedVariableValues(1), out errorState);
    83 
    8483      }
     84      Assert.AreEqual(errorState, OnlineCalculatorError.None);
    8585      watch.Stop();
    8686
Note: See TracChangeset for help on using the changeset viewer.