{"action":"created","issue":{"url":"https://api.github.com/repos/NetTopologySuite/NetTopologySuite/issues/218","repository_url":"https://api.github.com/repos/NetTopologySuite/NetTopologySuite","labels_url":"https://api.github.com/repos/NetTopologySuite/NetTopologySuite/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/NetTopologySuite/NetTopologySuite/issues/218/comments","events_url":"https://api.github.com/repos/NetTopologySuite/NetTopologySuite/issues/218/events","html_url":"https://github.com/NetTopologySuite/NetTopologySuite/issues/218","id":302322175,"number":218,"title":"NUnit Assert.AreEquals does not work for Multi* geometries","user":{"login":"joriswit","id":2944643,"avatar_url":"https://avatars2.githubusercontent.com/u/2944643?v=4","gravatar_id":"","url":"https://api.github.com/users/joriswit","html_url":"https://github.com/joriswit","followers_url":"https://api.github.com/users/joriswit/followers","following_url":"https://api.github.com/users/joriswit/following{/other_user}","gists_url":"https://api.github.com/users/joriswit/gists{/gist_id}","starred_url":"https://api.github.com/users/joriswit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joriswit/subscriptions","organizations_url":"https://api.github.com/users/joriswit/orgs","repos_url":"https://api.github.com/users/joriswit/repos","events_url":"https://api.github.com/users/joriswit/events{/privacy}","received_events_url":"https://api.github.com/users/joriswit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-05T14:33:29Z","updated_at":"2018-03-05T16:10:18Z","closed_at":null,"author_association":"NONE","body":"### Description\r\nWhen I create two MultiPoint geometries from the same WKT string, the NUnit AreEqual method fails.\r\n\r\nThe message is: Expected and actual are both <NetTopologySuite.Geometries.MultiPoint>\r\n  Values differ at index [0]\r\n  Expected: <POINT (20.564 46.3493254)>\r\n  But was:  <POINT (20.564 46.3493254)>\r\n\r\nI'm not sure if this is a NTS problem, a NUnit problem, or if it is as designed.\r\n\r\nI found this problem because of the failing SharpMap test UnitTests.Converters.SqlServer2008.ConvertAndBack(). But since this is not really a SharpMap problem, I post it here.\r\n\r\n### Steps to Reproduce\r\n            const string Multipoint = \"MULTIPOINT (20.564 46.3493254, 45 32, 23 54)\";\r\n            IGeometry p1 = new NetTopologySuite.IO.WKTReader().Read(Multipoint);\r\n            IGeometry p2 = new NetTopologySuite.IO.WKTReader().Read(Multipoint);\r\n\r\n            Assert.That(object.Equals(p1, p2)); // Succeeds\r\n            Assert.That(p1, Is.EqualTo(p2)); // Fails\r\n            Assert.AreEqual(p1, p2); // Fails\r\n\r\n### System Configuration\r\nI use the latest code from GitHub\r\nWindows 10, Visual Studio 2017, NUnit 2 Test Adapter"},"comment":{"url":"https://api.github.com/repos/NetTopologySuite/NetTopologySuite/issues/comments/370470474","html_url":"https://github.com/NetTopologySuite/NetTopologySuite/issues/218#issuecomment-370470474","issue_url":"https://api.github.com/repos/NetTopologySuite/NetTopologySuite/issues/218","id":370470474,"user":{"login":"joriswit","id":2944643,"avatar_url":"https://avatars2.githubusercontent.com/u/2944643?v=4","gravatar_id":"","url":"https://api.github.com/users/joriswit","html_url":"https://github.com/joriswit","followers_url":"https://api.github.com/users/joriswit/followers","following_url":"https://api.github.com/users/joriswit/following{/other_user}","gists_url":"https://api.github.com/users/joriswit/gists{/gist_id}","starred_url":"https://api.github.com/users/joriswit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joriswit/subscriptions","organizations_url":"https://api.github.com/users/joriswit/orgs","repos_url":"https://api.github.com/users/joriswit/repos","events_url":"https://api.github.com/users/joriswit/events{/privacy}","received_events_url":"https://api.github.com/users/joriswit/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T16:10:18Z","updated_at":"2018-03-05T16:10:18Z","author_association":"NONE","body":"I initially found the issue running from the SharpMap project, which references 1.14, so the problem is not new. The last change to the failing test is from 2012, so it possibly worked back then."}}
{"actor":{"display_login":"joriswit"}}