private IPoly merge(IPoly poly1, IPoly poly2) { IPoly merged; Assert.True(poly1.TryMerge(poly2, out merged), "Should succeed with merge"); return merged; }