Changeset 5921 for trunk/sources/HeuristicLab/3.3/Tests
- Timestamp:
- 04/01/11 08:48:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab/3.3/Tests/SymbolicRegressionTest.cs
r5884 r5921 66 66 TestContext.WriteLine("Runtime: {0}", ga.ExecutionTime.ToString()); 67 67 68 double expectedValidationQuality = 0.7 2232929212380248;69 double expectedBestQuality = 0. 67404328905620081;70 double expectedAverageQuality = 0.4 3099606868788487;68 double expectedValidationQuality = 0.74993359405662341; 69 double expectedBestQuality = 0.718883694431814551; 70 double expectedAverageQuality = 0.46786781419079804; 71 71 double expectedWorstQuality = 0; 72 72 double bestQuality = (ga.Results["CurrentBestQuality"].Value as DoubleValue).Value; … … 81 81 TestContext.WriteLine("Best valdidation solution quality: {0} (should be {1})", bestValidationSolutionQuality, expectedValidationQuality); 82 82 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); 87 87 } 88 88
Note: See TracChangeset
for help on using the changeset viewer.