Changeset 13510 for trunk/sources/HeuristicLab.Tests
- Timestamp:
- 01/15/16 11:09:23 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/CollectObjectGraphTest.cs
r12012 r13510 41 41 get { return testContextInstance; } 42 42 set { testContextInstance = value; } 43 } 44 45 [TestMethod] 46 [TestCategory("General")] 47 [TestCategory("Essential")] 48 [TestProperty("Time", "medium")] 49 public void TestCount() { 50 GeneticAlgorithm ga = (GeneticAlgorithm)XmlParser.Deserialize(@"Test Resources\GA_SymbReg.hl"); 51 var objects = ga.GetObjectGraphObjects().ToList(); 52 53 // Should be 3982, but count may change slightly as members are added or removed 54 Assert.IsTrue(objects.Count > 1, "Number of objects in the object graph seems to small."); 43 55 } 44 56
Note: See TracChangeset
for help on using the changeset viewer.