- Timestamp:
- 01/15/16 11:09:23 (9 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Common/3.3/ObjectExtensions.cs
r13494 r13510 78 78 typeof(Delegate).IsAssignableFrom(type) || 79 79 typeof(Pointer).IsAssignableFrom(type) || 80 type.Namespace != "System.Reflection.Emit" ||80 type.Namespace == "System.Reflection.Emit" || 81 81 (type.HasElementType && ExcludeType(type.GetElementType())); 82 82 } -
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.