Changeset 6930
- Timestamp:
- 10/14/11 15:00:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/SamplesTest.cs
r6928 r6930 191 191 RunAlgorithm(ga); 192 192 Assert.AreEqual(63, GetDoubleResult(ga, "BestQuality")); 193 Assert.AreEqual(4 9.59, GetDoubleResult(ga, "CurrentAverageQuality"));193 Assert.AreEqual(47.26, GetDoubleResult(ga, "CurrentAverageQuality")); 194 194 Assert.AreEqual(0, GetDoubleResult(ga, "CurrentWorstQuality")); 195 195 Assert.AreEqual(50950, GetIntResult(ga, "EvaluatedSolutions")); … … 241 241 ga.SetSeedRandomly.Value = false; 242 242 RunAlgorithm(ga); 243 Assert.AreEqual(0.82 345620379844975, GetDoubleResult(ga, "BestQuality"));244 Assert.AreEqual(0.5 7227221137175377, GetDoubleResult(ga, "CurrentAverageQuality"));243 Assert.AreEqual(0.82932035115203739, GetDoubleResult(ga, "BestQuality")); 244 Assert.AreEqual(0.53850226351927422, GetDoubleResult(ga, "CurrentAverageQuality")); 245 245 Assert.AreEqual(0, GetDoubleResult(ga, "CurrentWorstQuality")); 246 246 Assert.AreEqual(50950, GetIntResult(ga, "EvaluatedSolutions")); … … 356 356 ga.SetSeedRandomly.Value = false; 357 357 RunAlgorithm(ga); 358 Assert.AreEqual(0.1 4846929004393383, GetDoubleResult(ga, "BestQuality"));359 Assert.AreEqual( 2.4746939351100066, GetDoubleResult(ga, "CurrentAverageQuality"));360 Assert.AreEqual(10 0.43641619798549, GetDoubleResult(ga, "CurrentWorstQuality"));358 Assert.AreEqual(0.13941049901558636, GetDoubleResult(ga, "BestQuality")); 359 Assert.AreEqual(5.7121443289014842, GetDoubleResult(ga, "CurrentAverageQuality")); 360 Assert.AreEqual(102.59400156249991, GetDoubleResult(ga, "CurrentWorstQuality")); 361 361 Assert.AreEqual(100900, GetIntResult(ga, "EvaluatedSolutions")); 362 362 }
Note: See TracChangeset
for help on using the changeset viewer.