Apache Commons logo Apache Commons Geometry

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
387 0 0 0 100% 1.415

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.geometry.spherical.twod 232 0 0 0 100% 1.12
org.apache.commons.geometry.spherical.oned 151 0 0 0 100% 0.293
org.apache.commons.geometry.spherical 4 0 0 0 100% 0.002

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.commons.geometry.spherical.twod

Class Tests Errors Failures Skipped Success Rate Time
RegionBSPTree2STest 47 0 0 0 100% 0.819
Point2STest 21 0 0 0 100% 0.022
GreatCircleTest 32 0 0 0 100% 0.019
AbstractGreatArcPathConnectorTest 12 0 0 0 100% 0.005
Transform2STest 11 0 0 0 100% 0.161
BoundaryList2STest 3 0 0 0 100% 0.001
BoundarySource2STest 4 0 0 0 100% 0.002
GreatArcTest 19 0 0 0 100% 0.008
EmbeddedTreeSubGreatCircleTest 19 0 0 0 100% 0.017
InteriorAngleGreatArcConnectorTest 6 0 0 0 100% 0.004
ConvexArea2STest 32 0 0 0 100% 0.049
GreatArcPathTest 26 0 0 0 100% 0.013

org.apache.commons.geometry.spherical.oned

Class Tests Errors Failures Skipped Success Rate Time
AngularIntervalTest 46 0 0 0 100% 0.151
RegionBSPTree1STest 45 0 0 0 100% 0.065
Transform1STest 11 0 0 0 100% 0.019
CutAngleTest 25 0 0 0 100% 0.015
Point1STest 24 0 0 0 100% 0.043

org.apache.commons.geometry.spherical

Class Tests Errors Failures Skipped Success Rate Time
DocumentationExamplesTest 4 0 0 0 100% 0.002

Test Cases

[Summary] [Package List] [Test Cases]

RegionBSPTree2STest

testGetBoundaryPaths_cachesResult 0.026
testBoundaryStream 0.001
testBoundaries 0.002
testGeographicMap 0.191
testEmpty_factoryMethod 0.001
testCtor_default 0
testGeometricProperties_polygonWithHole 0.039
testCtor_booleanArg_false 0.001
testGeometricProperties_polygonWithHole_complex 0.038
testCircleToPolygonSize 0.165
testFrom_boundaries_noBoundaries 0
testGetBoundaryPaths_recomputesResultOnChange 0.001
testCopy 0
testSplit_both 0.003
testSplit_plus 0.001
testSmallGeographicalRectangle 0.003
testToConvex_empty 0
testToConvex_doubleLune 0.001
testFrom_boundaries_fullIsTrue 0
testProject_noBoundaries 0.001
testProject 0.001
testGeometricProperties_halfSpace 0.007
testGeometricProperties_quadrant_complement 0.01
testCtor_booleanArg_true 0.001
testToTree_returnsSameInstance 0
testFull_factoryMethod 0.001
testFrom_boundaries 0
testRegionNode_getNodeRegion 0.001
testToConvex_full 0
testToConvex_doubleLune_complement 0
testGetBoundaries 0
testGeometricProperties_quadrant 0.006
testGeometricProperties_polygonWithHole_small 0.018
testGetBoundaryPaths_isUnmodifiable 0.001
testBoundaryStream_noBoundaries 0
testGeometricProperties_full 0
testGeometricProperties_empty 0
testToList_fullAndEmpty 0.001
testCircleToPolygonCentroid 0.163
testGeometricProperties_equalAndOppositeRegions 0.001
testSplit_minus 0.001
testTransform 0.004
testToList 0
testSmallCircleToPolygon 0.015
testCircleToPolygonBoundarySize 0.089
testGeometricProperties_doubleLune 0.001
testGeometricProperties_smallRightTriangle 0.006

Point2STest

testParse_failure 0.001
testProperties 0.001
testAntipodal 0.012
testNaN 0
testAzimuthPolarComparator 0
testParse 0.001
testToString 0
testEq 0
testDimension 0
testFrom_vector 0.001
testSlerp_alongMeridian 0
testEquals_poles 0.001
testSlerp_samePoint 0
testAntipodal_numericalStability 0
testHashCode 0.001
testInfinite 0
testDistance 0.001
testEquals 0
testFinite 0
testSlerp_antipodal 0.001
testSlerp_alongEquator 0

AngularIntervalTest

testConvex_of_points 0.051
testSplitDiameter_splitOnBoundary_negativeFacing 0.002
testToConvex_overPi 0.002
testOf_orientedPoints_invalidArgs 0.005
testSplitDiameter_splitOnBoundary_positiveFacing 0
testConvex_transform 0.002
testClassify_almostEmpty 0.001
testToConvex_overPi_splitAtZero 0.001
testToTree_full 0.008
testSplitDiameter_full 0.001
testSplitDiameter_plus 0.001
testFull 0.001
testSplit_interval_both 0.004
testToString 0
testSplit_full 0.001
testSplitDiameter_full_splitOnZero 0
testToTree_intervalGreaterThanPi 0.001
testOf_doubles 0.001
testConvex_of_cutAngles_invalidArgs 0.002
testProject 0
testSplitDiameter_both_antipodal_positiveFacingSplitter 0
testConvex_of_doubles_invalidArgs 0.002
testOf_doubles_invalidArgs 0.002
testSplitDiameter_both_positiveFacingSplitter 0.001
testClassify_sizeableGap 0.001
testClassify_almostFull 0.001
testConvex_of_points_invalidArgs 0.003
testSplitDiameter_both_antipodal_negativeFacingSplitter 0.001
testSplitDiameter_both_negativeFacingSplitter 0.001
testOf_orientedPoints 0.001
testToTree_intervalLessThanPi 0.001
testConvex_of_doubles 0.001
testSplitDiameter_minus 0
testWrapsZero 0
testToConvex_lessThanPi 0.001
testClassify_full 0.001
testOf_points 0.001
testToTree_intervalEqualToPi 0.001
testToConvex_equalToPi 0.001
testTransform_full 0.001
testOf_points_invalidArgs 0.003
testConvex_of_cutAngles 0
testTransform 0.002
testConvex_toConvex 0
testClassify_halfPi 0
testProject_full 0.001

GreatCircleTest

testAzimuth_point 0
testIntersection_parallel 0
testVectorAt 0
testToSpace 0
testSpan 0
testToString 0
testEq 0
testTransform_piMinusAzimuth 0
testProject 0.001
testArc_points_1s 0
testArc_points_2s 0.001
testFromPole 0
testTransform_rotateAroundNonPole 0
testAngle_withReferencePoint 0
testAzimuth_vector 0
testOffset_vector 0.001
testSimilarOrientation 0
testFromPoints_invalidPoints 0.003
testTransform_rotateAroundPole 0
testArc_interval 0
testReverse 0
testHashCode 0
testProject_poles 0
testArc_azimuths 0.001
testIntersection 0
testEquals 0.001
testFromPoints 0
testToSubspace 0.001
testAngle_withReferencePoint_pointEquidistanceFromIntersections 0
testFromPoleAndXAxis 0
testOffset_point 0
testAngle_withoutReferencePoint 0

AbstractGreatArcPathConnectorTest

testConnectAll_singleFullArc 0
testConnectAll_twoFullArcs 0
testConnectAll_singleLune 0
testConnectAll_smallTriangleWithDisconnectedLuneAndArc 0
testConnectAll_choosesBestPointLikeConnection 0.001
testConnectableSegment_equals 0
testConnectorCanBeReused 0
testConnect 0.001
testConnectAll_singleLune_pathsNotOrientedCorrectly 0
testConnectAll_largeTriangle 0
testConnectableSegment_hashCode 0
testConnectAll_emptyCollection 0

DocumentationExamplesTest

testRegionBSPTree2SExample 0
testGreatCircleIntersectionExample 0
testRegionBSPTree1SExample 0
testAngularIntervalExample 0

Transform2STest

testDoubleReflection 0.014
testReflection_vector 0.024
testMultipleRotations 0.018
testToString 0
testReflection_point 0.018
testIdentity 0.019
testRotation 0.036
testHashcode 0
testEquals 0.001
testMultiply 0.015
testPremultiply 0.011

RegionBSPTree1STest

testProject_equidistant 0.005
testProject_intervalAroundZero_closerOnMaxSide 0.001
testProject_intervalAroundZero_closerOnMinSide 0.001
testToIntervals_full 0.001
testRegionProperties_singleInterval_wrapsZero 0.008
testFromInterval_nonFull 0.004
testConstructor_true 0.001
testSplitDiameter_full 0.003
testEmpty 0
testSplitDiameter_minus_zeroOnPlusSide 0
testCopy 0.002
testFull 0.001
testSplit_full 0.002
testToIntervals_singleCut 0.002
testSplit_full_cutEquivalentToZero 0.001
testSplitDiameter_both_zeroOnMinusSide 0.001
testSplitDiameter_plus_zeroOnPlusSide 0.001
testToIntervals_wrapAround_joinedIntervalsOnPositiveSide 0.001
testSplitDiameter_both_zeroOnPlusSide 0.001
testToIntervals_wrapAround_joinedIntervalsOnNegativeSide 0.001
testSplitDiameter_minus_zeroOnMinusSide 0.001
testToIntervals_empty 0.001
testConstructor_default 0
testConstructor_false 0
testRegionProperties_equalAndOppositeIntervals 0.001
testTransform_halfPiPlusAz 0.001
testFromInterval_full 0
testClassify_empty 0
testRegionProperties_singleInterval_doesNotWrap 0
testSplitDiameter_empty 0
testTransform_fullAndEmpty 0.001
testProject_withIntervals 0
testTransform_piMinusAz 0
testRegionProperties_multipleIntervals_differentSizes 0.001
testClassify_full 0.001
testToIntervals_multipleIntervals_complement 0
testSplit_singleIntervalSplitIntoTwoIntervalsOnSameSide 0.001
testProject_fullAndEmpty 0
testClassify 0.001
testSplitDiameter_plus_zeroOnMinusSide 0
testRegionProperties_multipleIntervals_sameSize 0.005
testSplit_empty 0.001
testSplit_multipleRegions 0.001
testToIntervals_multipleIntervals 0.001
testSplit_singleInterval 0.001

BoundaryList2STest

testCtor 0
testToString 0
testToList 0

BoundarySource2STest

testToList_noBoundaries 0
testToTree_noBoundaries 0
testToList 0.001
testToTree 0

GreatArcTest

testFromPoints_usesShortestPath 0
testToConvex 0
testSplit_both 0
testSplit_full 0
testSplit_plus 0
testSplit_parallelAndAntiparallel 0
testToString_full 0.001
testFromPoints_almostPi 0
testGetMidPoint 0.001
testFromInterval_partial 0
testFromPoints_invalidPoints 0.001
testFromInterval_full 0.001
testGetMidPoint_full 0
testReverse 0.001
testReverse_full 0
testFromPoints 0
testSplit_minus 0.001
testToString_notFull 0
testTransform 0

EmbeddedTreeSubGreatCircleTest

testCtor_default 0
testToSpace 0
testAdd_arc 0.002
testCtor_boolean_true 0.001
testToString 0.001
testSplit_both 0.001
testSplit_full 0.001
testSplit_plus 0
testSplit_parallelAndAntiparallel 0
testAdd_arc_differentCircle 0.001
testAdd_subGreatCircle 0.001
testClosest 0.001
testAdd_subGreatCircle_otherCircle 0.001
testCtor_tree 0.001
testCtor_boolean_false 0.001
testToSubspace 0
testSplit_empty 0
testSplit_minus 0
testTransform 0.001

Transform1STest

testPreultiply 0.002
testToString 0.002
testRotateThenNegate 0.001
testRotate_positive 0.001
testRotate_negative 0.001
testIdentity 0.001
testHashCode 0.002
testNegateThenRotate 0.001
testEquals 0
testMultiply 0.001
testNegate 0.001

CutAngleTest

testSubset_contains 0
testFromPointAndDirection 0
testSpan 0
testToString 0
testCreateNegativeFacing 0.001
testEq 0
testProject 0
testCreatePositiveFacing 0.001
testSubset_classify 0
testSimilarOrientation 0.001
testSubset_closestContained 0
testContains 0
testSubset_transform 0
testReverse 0
testHashCode 0
testEquals 0
testClassify 0
testSubset_toString 0
testOffset 0.001
testSubset_reverse 0
testTransform_negate 0
testTransform_rotate 0
testSubset_simpleMethods 0
testSubset_split 0
testFromAzimuthAndDirection 0

InteriorAngleGreatArcConnectorTest

testConnectAll_singlePath 0
testConnectAll_minimize_method 0
testConnectAll_maximize_method 0.001
testConnectAll_maximize_instance 0
testConnectAll_empty 0.001
testConnectAll_minimize_instance 0.001

ConvexArea2STest

testBoundaryStream 0
testGetCentroid_diminishingLunes 0.002
testFromBounds_triangle_large 0.004
testFromBounds_triangle_small 0.004
testToTree_full 0
testFromVertices_empty 0
testFull 0
testTrim 0.001
testSplit_both 0
testSplit_plus 0
testFromBounds_lune_intersectionAtEquator 0.003
testFromBounds_lune_intersectionAtPoles 0.002
testFromPath 0.004
testGetCentroid_diminishingSquares 0.003
testGetInteriorAngles_noAngles 0
testFromVertices_invalidArguments 0.001
testFromBounds_empty 0
testFromVertexLoop 0.003
testBoundaryStream_noBoundaries 0
testFromBounds_quad 0.003
testFromVertices 0.002
testFromVertices_verticesRepeated 0
testFromPath_empty 0
testFromBounds_singleBound 0.002
testSplit_minus 0.001
testTransform 0.003
testToList 0.001
testToTree 0
testGetInteriorAngles 0
testToList_full 0
testFromVertices_lastVertexRepeated 0.003
testFromVertexLoop_empty 0

Point1STest

testParse_failure 0.002
testEqualsAndHashCode_signedZeroConsistency 0
testAntipodal 0.001
testNaN 0
testAbove 0.001
testParse 0
testFrom_polar_invalidAzimuths 0
testEq_wrapAround 0.001
testToString 0
testEq 0
testOf 0.001
testAbove_nonFinite 0.002
testDistance_inRangeZeroToPi 0.022
testFrom_vector 0
testGetDimension 0.001
testConstants 0
testHashCode 0
testInfinite 0.001
testDistance 0
testEquals 0
testFinite 0
testFrom_polar 0.001
testNormalizedAzimuthComparator 0
testSignedDistance 0.001

GreatArcPathTest

testFromVertices_boolean_closed 0
testBoundaryStream 0
testFromVertices_boolean_notClosed 0.001
testToString_singleFullArc 0
testToString_empty 0
testFromArcs_full 0.001
testBuilder_append 0
testBuilder_appendAndPrepend_mixedArguments 0
testBuilder_onlySinglePointGiven 0.001
testBuilder_prepend 0
testEmpty 0
testToTree_triangle 0
testBuilder_arcsNotConnected 0.001
testFromArcs 0
testBuilder_cannotClose 0
testToTree_empty 0
testFromVertices_boolean_empty 0.001
testBuilder_points_noPrecisionGiven 0
testFromVertices_boolean_closed_pointsConsideredEqual 0
testBuilder_addToFullArc 0.001
testFromVertexLoop 0
testBoundaryStream_noBoundaries 0
testToString_nonFullArcs 0
testFromVertices 0.001
testBuilder_appendAndPrepend_points 0
testToTree_halfSpace 0