UnitTests - sindizzy/DSW GitHub Wiki

Unit test that test the System.Spatial.Topology library against the Net Topology suite

||Passed/Failed||Test||Class Name||Error Message|| |Passed|Buffer|DataTypesTransfromations|Passed| |Passed|MultiPointToByteArray|DataTypesTransfromations|Passed| |Passed|MultipolygonToByteArray|DataTypesTransfromations|Passed| |Passed|PolygonToByteArray|DataTypesTransfromations|Passed| |Passed|LSToByteArray|DataTypesTransfromations|Passed| |Passed|PointToByteArray|DataTypesTransfromations|Passed| |Passed|MultiLSToByteArray|DataTypesTransfromations|Passed| |Passed|LineStringEnvelopeArea|EnvelopeUnitTests|Passed| |Passed|EnvelopeCoordiante|EnvelopeUnitTests|Passed| |Passed|TwoCoordinates|EnvelopeUnitTests|Passed| |Passed|HeightWidth|EnvelopeUnitTests|Passed| |Passed|Center|EnvelopeUnitTests|Passed| |Passed|PolygonEnvelopeMaxMin|EnvelopeUnitTests|Passed| |Failed|PolygonEnvelopeArea|EnvelopeUnitTests|Assert.AreEqual failed. Expected:<113.097335529233>. Actual:<113.097335529232>. | |Passed|LineStringEnvelopeHeightWidth|EnvelopeUnitTests|Passed| |Passed|LineStringEnvelopeMaxMin|EnvelopeUnitTests|Passed| |Passed|MpgEnvelopMinMax|MultiShape|Passed| |Passed|Multipg|MultiShape|Passed| |Passed|EnvelopeMps|MultiShape|Passed| |Passed|MultiPs|MultiShape|Passed| |Passed|Multils|MultiShape|Passed| |Passed|EnveloptMls|MultiShape|Passed| |Passed|MpsBufferArea|MultiShape|Passed| |Passed|EnvelopeHeight|MultiShape|Passed| |Passed|IntersectInternalTest|MultiShape|Passed| |Passed|EnvelopeMpg|MultiShape|Passed| |Passed|MlsLength|MultiShape|Passed| |Failed|DifferenceFeatureSetTest|OverLay_UnitTests|Test method DotSpatial_Topology.OverLay_UnitTests.DifferenceFeatureSetTest threw exception: System.NullReferenceException: Object reference not set to an instance of an object..| |Failed|IntersectionFeatureSetTest|OverLay_UnitTests|Test method DotSpatial_Topology.OverLay_UnitTests.IntersectionFeatureSetTest threw exception: System.NullReferenceException: Object reference not set to an instance of an object..| |Failed|Difference|OverLay_UnitTests|Test method DotSpatial_Topology.OverLay_UnitTests.Difference threw exception: System.ApplicationException: found non-noded intersection at (-175.24000777036, -86.8032325467485, NaN)-(-173.24000777036, -83.6616398931587, NaN) and (-173.24000777036, 16.8693250217147, NaN)-(-173.24000777036, -89.9448252003383, NaN).| |Failed|Union|OverLay_UnitTests|Test method DotSpatial_Topology.OverLay_UnitTests.Union threw exception: System.ApplicationException: found non-noded intersection at (21.4640807893426, 3.79601691053967, NaN)-(23.4640807893426, 6.93760956412947, NaN) and (23.4640807893426, 107.468574479003, NaN)-(23.4640807893426, 0.654424256949881, NaN).| |Passed|Overlaps|OverLay_UnitTests|Passed| |Failed|SymetricDifferenceFeatureSetTest|OverLay_UnitTests|Test method DotSpatial_Topology.OverLay_UnitTests.SymetricDifferenceFeatureSetTest threw exception: System.NullReferenceException: Object reference not set to an instance of an object..| |Passed|Intersection|OverLay_UnitTests|Passed| |Failed|SymmetricDifference|OverLay_UnitTests|Test method DotSpatial_Topology.OverLay_UnitTests.SymmetricDifference threw exception: System.ApplicationException: found non-noded intersection at (-67.1569795041145, 15.7653808476798, NaN)-(-65.1569795041145, 18.9069735012696, NaN) and (-65.1569795041145, 119.437938416143, NaN)-(-65.1569795041145, 12.62378819409, NaN).| |Failed|UnionFeatureSetTest|OverLay_UnitTests|Test method DotSpatial_Topology.OverLay_UnitTests.UnionFeatureSetTest threw exception: System.NullReferenceException: Object reference not set to an instance of an object..| |Failed|PolygonBoundaryCentroid|PointsLinesPolygons|Assert.AreEqual failed. Expected:<POINT (-176.9937593503930000 -58.0004166746166000) (DotSpatial.Geometries.Point)>. Actual:<POINT(-176.99375935039262 -58.000416674616581) (GisSharpBlog.NetTopologySuite.Geometries.Point)>. | |Passed|PolygonBoundaryArea|PointsLinesPolygons|Passed| |Passed|LineEndPoint|PointsLinesPolygons|Passed| |Passed|BufferParimeter|PointsLinesPolygons|Passed| |Passed|LineStartPoint|PointsLinesPolygons|Passed| |Passed|PolygonNumPoints|PointsLinesPolygons|Passed| |Passed|PolygonShellGeometryType|PointsLinesPolygons|Passed| |Passed|LineStringCoordiantesCount|PointsLinesPolygons|Passed| |Passed|PolgygonParimeterLength|PointsLinesPolygons|Passed| |Passed|LineLength|PointsLinesPolygons|Passed| |Passed|LineStringCentroid|PointsLinesPolygons|Passed| |Passed|PolygonShellEndPoint|PointsLinesPolygons|Passed| |Failed|PolygonCentroid|PointsLinesPolygons|Assert.AreEqual failed. Expected:<POINT (22.7974141226759000 28.9287581392580000) (DotSpatial.Geometries.Point)>. Actual:<POINT(22.797414122675907 28.928758139258012) (GisSharpBlog.NetTopologySuite.Geometries.Point)>. | |Passed|Buffer|PointsLinesPolygons|Passed| |Passed|PolygonShellStartPoint|PointsLinesPolygons|Passed| |Passed|PolygonArea|PointsLinesPolygons|Passed| |Passed|PolygonHoles|PointsLinesPolygons|Passed|