private void RunDissolverWorld(IList <IGeometry> data) { var dis = new LineDissolver(); dis.Add(data); var result = dis.GetResult(); Trace.WriteLine("RunDissolverWorld"); Trace.WriteLine(Memory.TotalString); // Trace.WriteLine(String.Format("Result: {0}", result)); }
private void CheckDissolve(IEnumerable <IGeometry> geoms, IGeometry expected) { var d = new LineDissolver(); d.Add(geoms); var result = d.GetResult(); var rnorm = result.Normalized(); var enorm = expected.Normalized(); bool equal = rnorm.EqualsExact(enorm); Assert.IsTrue(equal, string.Format("Expected = {0} actual = {1}", expected, rnorm)); }