Changeset 8309
- Timestamp:
- 07/20/12 08:52:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/CollectObjectGraphTest.cs
r7915 r8309 59 59 TestContext.WriteLine("Time elapsed {0}", watch.Elapsed); 60 60 TestContext.WriteLine("Objects discovered: {0}", objects.Count()); 61 TestContext.WriteLine("HL objects discovered: {0}", objects. Where(o => o.GetType().Namespace.StartsWith("HeuristicLab")).Count());61 TestContext.WriteLine("HL objects discovered: {0}", objects.Count(o => o.GetType().Namespace.StartsWith("HeuristicLab"))); 62 62 TestContext.WriteLine(""); 63 63 … … 70 70 71 71 foreach (string s in objects.Select(o => o.GetType().Namespace).Distinct().OrderBy(s => s)) { 72 TestContext.WriteLine("{0}: {1}", s, objects. Where(o => o.GetType().Namespace == s).Count());72 TestContext.WriteLine("{0}: {1}", s, objects.Count(o => o.GetType().Namespace == s)); 73 73 } 74 74 TestContext.WriteLine("");
Note: See TracChangeset
for help on using the changeset viewer.