Apache Commons logo Apache Commons Geometry

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
276 0 0 0 100% 0.44

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.core.internal 28 0 0 0 100% 0.025
org.apache.commons.geometry.core 5 0 0 0 100% 0.056
org.apache.commons.geometry.core.partitioning.bsp 205 0 0 0 100% 0.316
org.apache.commons.geometry.core.partitioning 38 0 0 0 100% 0.043

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

org.apache.commons.geometry.core.internal

Class Tests Errors Failures Skipped Success Rate Time
SimpleTupleFormatTest 23 0 0 0 100% 0.023
IteratorTransformTest 2 0 0 0 100% 0.001
HyperplaneSubsetsTest 2 0 0 0 100% 0
GeometryInternalErrorTest 1 0 0 0 100% 0.001

org.apache.commons.geometry.core

Class Tests Errors Failures Skipped Success Rate Time
SizedTest 1 0 0 0 100% 0
EmbeddingTest 4 0 0 0 100% 0.056

org.apache.commons.geometry.core.partitioning.bsp

Class Tests Errors Failures Skipped Success Rate Time
AbstractPartitionedRegionBuilderTest 14 0 0 0 100% 0.049
AbstractBSPTreeTest 70 0 0 0 100% 0.075
AbstractRegionBSPTreeTest 78 0 0 0 100% 0.115
AbstractBSPTreeMergeOperatorTest 12 0 0 0 100% 0.014
RegionCutBoundaryTest 11 0 0 0 100% 0.004
AbstractRegionBSPTreeBooleanTest 17 0 0 0 100% 0.054
BSPTreeVisitorTest 3 0 0 0 100% 0.005

org.apache.commons.geometry.core.partitioning

Class Tests Errors Failures Skipped Success Rate Time
SplitTest 3 0 0 0 100% 0.002
AbstractHyperplaneTest 3 0 0 0 100% 0
BoundaryListTest 4 0 0 0 100% 0.001
AbstractConvexHyperplaneBoundedRegionTest 28 0 0 0 100% 0.04

Test Cases

[Summary] [Package List] [Test Cases]

AbstractPartitionedRegionBuilderTest

testBuildRegion_grid_horseshoe 0.014
testBuildRegion_multipleBoundariesOnPartition 0.001
testBuildRegion_grid_halfSpace_boundaryOnPartition 0.004
testBuildRegion_grid_diamond 0.01
testBuildRegion_boundaryOnPartition_sameOrientation 0.001
testBuildRegion_boundaryOnPartition_multipleBoundaries_oppositeOrientation 0.001
testBuildRegion_boundariesOnPartitionPropagateInsideCorrectly 0
testInsertPartition_cannotInsertAfterBoundary 0.001
testBuildRegion_boundaryOnPartition_oppositeOrientation 0.001
testBuildRegion_grid_cube 0.008
testBuildRegion_boundaryOnPartition_multipleBoundaries_sameOrientation 0
testCtor_invalidTree 0.001
testBuildRegion_empty 0
testBuildRegion_noPartitions_halfSpace 0

SimpleTupleFormatTest

testDefaultInstance 0.001
testFormat_longTokens 0.003
testParse3D_failure 0
testParse2D_failure 0.001
testParse3D_noPrefixSuffix 0.001
testParse1D_failure 0.001
testParse1D 0.001
testParse2D 0.001
testParse3D 0.001
testFormat2D_noPrefixSuffix 0
testParse_longTokens_failure 0
testParse1D_noPrefixSuffix 0
testConstructor_defaultSeparator 0.001
testFormat3D_noPrefixSuffix 0
testFormat1D 0.001
testFormat2D 0
testFormat3D 0
testFormat4D 0
testParse2D_noPrefixSuffix 0.001
testParse_longTokens 0
testFormat4D_noPrefixSuffix 0
testFormat1D_noPrefixSuffix 0
testConstructor 0.001

SizedTest

testProperties 0

AbstractBSPTreeTest

testFindNode_nodeCutBehavior 0
testVisit_nullVisitOrderSkipsSubtree 0.001
testVisit_specifiedOrder 0
testClearCut_cutExists 0.001
testCopy_rootOnly 0
testSplitIntoTree_minusOnly 0.001
testTransform_xAndYAxisReflection 0.003
testNodeToString 0
testInsertCut_doesNotPassThroughCell_removesExistingChildren 0
testDepth_detachedNodes 0.002
testClearCut_cutDoesNotExist 0
testTreeString_zeroMaxDepth 0.002
testCopy_instancePassedAsArgument 0
testInsert_boundarySource_emptySource 0.001
testTransform_multipleCuts 0.001
testNodesIterable_emptyTree 0
testCount 0
testDepth 0
testTransform_singleCut 0.001
testNodesIterable_multipleNodes 0
testToString 0.001
testClearCut_root_emptyTree 0.001
testInsert_convex_noSplit 0.001
testInsert_convex_split 0.001
testFindNode_plusCutBehavior 0
testInsertCut_cutExistsInTree_oppositeOrientation 0
testSubtreeNodesIterable_multipleNodeSubtree 0
testVisit_visitNode 0.002
testFindNode_minusCutBehavior 0
testVisit_visitorReturnsTerminate_terminatesEarly 0
testInsertCut_cutExistsInTree_sameOrientation 0
testNodesIterable_iteratorThrowsNoSuchElementExceptionAtEnd 0.001
testInsert_boundarySource 0.002
testTreeString 0.001
testTransform_xAxisReflection 0.003
testExtract_leafNode 0.001
testTreeString_negativeMaxDepth 0
testNodeStateGetters 0
testInsertCut_createRegionWithThicknessOfHyperplane 0
testInsert_convexList_concaveRegion 0.001
testClearCut_root_fullTree 0.001
testSplitIntoTree_plusOnly 0.001
testInsertCut 0
testInsertCut_fitsCutterToCell 0
testExtract_singleNodeTree 0
testExtract_clearsExistingNodesInCallingTree 0.001
testInsertCut_doesNotPassThroughCell_parallel 0.001
testInsert_hyperplaneSubset_concaveRegion 0.001
testCopy_changesToOneTreeDoNotAffectCopy 0
testVisit_defaultOrder 0.001
testInitialization 0
testInsert_convex_emptyTree 0.001
testInsertCut_doesNotPassThroughCell_intersects 0.001
testSplitIntoTree 0
testVisit_visitorReturnsNull_terminatesEarly 0
testFindNode_singleArg 0.001
testHeight 0.001
testFindNode_emptyTree 0.001
testExtract_extractFromSameTree 0.001
testInsert_convexList_convexRegion 0
testVisit_earlyTerminationPermutations 0
testTransform_yAxisReflection 0.003
testTreeString_emptyTree 0.001
testVisit_noneVisitOrderSkipsSubtree 0.001
testSubtreeNodesIterable_singleNodeSubtree 0
testCopy_withCuts 0.001
testTreeString_reachesMaxDepth 0.001
testNodeTrim 0.001
testTransform_singleNodeTree 0.001
testExtract_internalNode 0

AbstractRegionBSPTreeTest

testProject_halfSpace 0.009
testSetLocation_noChange_doesNotInvalidateTree 0.001
testComplementOf_rootOnly 0.001
testClassify_emptyTree 0.001
testExtract_complementedTree 0.002
testInsert_hyperplaneConvexSubsets_mixedCutRules 0.002
testGetBoundaries_fullAndEmpty 0.004
testProject_emptyAndFull 0.001
testGetCutBoundary_singleCut_leafNode 0
testExtract 0.002
testTransform_xAndYAxisReflection 0.002
testProject_box 0.001
testSplit_halfSpace 0.001
testComplementOf_skewedBowtie 0.001
testComplement_rootOnly 0.001
testParameterizedConstructor_true 0.003
testTransform_multipleCuts 0.002
testTransform_resetsCutBoundary 0.001
testTransform_singleCut 0.001
testCopy 0.002
testSetLocation_invalidArgs 0.002
testSetLocation 0.001
testToString 0.001
testSplit_full 0.001
testGetBoundarySize_boxComplement 0.001
testGetBoundarySize_box 0.001
testGetRegionSizeProperties_cachesValueBasedOnVersion 0.001
testCondense_alreadyCondensed 0.001
testGetBoundaries_finite 0.001
testSetLocation_invalidatesRegionProperties 0.001
testGetSize 0.001
testComplement_isReversible_root 0
testFullEmpty_fullTree 0.001
testSplit_box_onMinusOnly 0.001
testComplement_skewedBowtie 0.001
testCondense_doesNotInvalidateTreeWhenNotChanged 0
testTransform_xAxisReflection 0.001
testGetCutBoundary_singleCut 0.001
testGetCutBoundary_emptyTree 0.001
testBoundaries_finite_inverted 0.003
testCondense 0.001
testContains 0.001
testCut_nodeMethod 0.001
testParameterizedConstructor_false 0.001
testGetLocation_singleCut 0
testGetBoundarySize_fullAndEmpty 0
testGetLocation_emptyRoot 0
testInsert_hyperplaneConvexSubsetList_mixedCutRules 0.001
testGetCentroid 0
testGetBoundarySize_alignedCuts 0.001
testGetBoundaries_finite_inverted 0.001
testComplement_clearCutAfterComplement 0.001
testCondense_invalidatesTreeWhenChanged 0.001
testSplit_box_onPlusOnly 0.001
testBoundaries_fullAndEmpty 0
testSplit_box 0
testClassify_NaN 0
testGetCutBoundary_leafNode 0
testClassify 0.001
testComplement_isReversible_skewedBowtie 0.001
testComplement_singleCut 0.001
testTransform_yAxisReflection 0.001
testBoundaries_finite 0.001
testGetBoundarySize_infinite 0.001
testInsert_boundarySource_mixedCutRules 0.003
testSetFull 0.001
testComplement_clearRootAfterComplement 0.001
testSplit_empty 0.001
testTransform_noCuts 0.001
testGetBoundarySize_recomputesAfterChange 0.001
testInsert_hyperplaneSubsets_mixedCutRules 0.003
testGetLocation_multipleCuts 0.001
testComplement_getCutBoundary 0.001
testComplement_addCutAfterComplement 0.001
testGetCutBoundary_singleCorner 0.001
testDefaultConstructor 0
testSetEmpty 0
testFullEmpty_emptyTree 0

SplitTest

testProperties 0
testToString 0
testGetLocation 0

AbstractHyperplaneTest

testGetPrecision 0
testContains 0
testClassify 0

EmbeddingTest

testToSpace_collection_emptyInput 0.035
testToSpace_collection 0.008
testToSubspace_collection 0.002
testToSubspace_collection_emptyInput 0

AbstractBSPTreeMergeOperatorTest

testMerge_cutOnMinusSide_parallel 0
testMerge_cutOnMinusSide_antiParallel 0.001
testMerge_outputIsFirstInput 0.001
testMerge_multiNodeTreeWithSingleNodeTree 0.001
testMerge_cutOnPlusSide_parallel 0
testMerge_singleNodeTreeWithMultiNodeTree 0
testMerge_cutsParallel 0
testMerge_cutsAntiParallel 0.001
testMerge_outputIsSecondInput 0.001
testMerge_cutOnPlusSide_antiParallel 0
testMerge_cutsIntersect 0.001
testMerge_singleNodeTreeWithSingleNodeTree 0

RegionCutBoundaryTest

testGetSize_finite 0
testProperties 0
testGetSize_noSize 0
testClosest_nullOutsideFacing 0
testContains 0
testClosest_nullInsideFacing 0
testProperties_nullLists 0
testClosest 0
testGetSize_infinite 0
testClosest_nullInsideAndOutsideFacing 0
testContains_nullHyperplaneSubsets 0

IteratorTransformTest

testIteration 0
testThrowsNoSuchElement 0

HyperplaneSubsetsTest

testClosest 0
testClassify 0

BoundaryListTest

testBoundaries 0
testCount 0
testToString 0
testGetBoundaries_listCannotBeModified 0

GeometryInternalErrorTest

testMessage 0

AbstractRegionBSPTreeBooleanTest

testXor_boxTreeWithSingleCutTree 0.002
testUnion_simpleCrossingCuts 0.005
testUnion_singleNodeTrees 0.003
testIntersection_boxTreeWithSingleCutTree 0.003
testDifference_treeWithCopy 0.003
testDifference_singleNodeTrees 0.003
testUnion_treeWithComplement 0.003
testDifference_simpleCrossingCuts 0.009
testIntersection_singleNodeTrees 0.002
testDifference_boxTreeWithSingleCutTree 0.002
testXor_simpleCrossingCuts 0.002
testIntersection_simpleCrossingCuts 0.003
testXor_singleNodeTrees 0.002
testXor_treeWithComplement 0.001
testUnion_mixedCutRules 0.002
testIntersection_treeWithComplement 0.001
testUnion_boxTreeWithSingleCutTree 0.001

BSPTreeVisitorTest

testClosestFirst 0
testDefaultVisitOrder 0.001
testFarthestFirst 0.003

AbstractConvexHyperplaneBoundedRegionTest

testGetBoundarySize 0
testConvexRegionBoundaryBuilder_duplicateLines 0
testSplit_parallel_splitterIsOutside_plusOnly 0
testConvexRegionBoundaryBuilder_multipleLines 0.002
testFull 0.001
testTrim 0.001
testToString 0
testSplit_full 0.001
testTransform_reflection 0.003
testConvexRegionBoundaryBuilder_full 0.001
testProject 0.001
testSplit_inconsistentBoundarySplitLocations_trimmedNotNull_minus 0.001
testSplit_inconsistentBoundarySplitLocations_trimmedNotNull_plus 0.001
testTransform_infinite 0
testConvexRegionBoundaryBuilder 0.002
testSplit_coincident_sameOrientation 0
testSplit_parallel_splitterIsOutside_minusOnly 0
testSplit_coincident_oppositeOrientation 0.001
testSplit_inconsistentBoundarySplitLocations_plus 0.001
testSplit_inconsistentBoundarySplitLocations_minus 0.001
testSplit_parallel_splitterIsInside 0
testTransform_full 0.001
testClassify 0.001
testTransform_finite 0.002
testConvexRegionBoundaryBuilder_singleLine 0.001
testSplit_finite_both 0.001
testSplit_inconsistentBoundarySplitLocations_trimmedNotNull_neither 0.001
testBoundaries_areUnmodifiable 0.001