class MAGES::MeshDeformations::Editor::Tests::CutActionVolumeSelectionMathTests¶
EditMode tests for the pure selection/geometry helpers backing CutActionVolumeSelectionTool.
class CutActionVolumeSelectionMathTests
{
public:
// methods
void SelectNearest_ChoosesTheNClosestCentroids();
void SelectNearest_CountGreaterOrEqualTotal_ReturnsAllInAscendingOrder();
void SelectNearest_CountZero_ReturnsEmpty();
void SelectNearest_Ties_AreBrokenByAscendingIndexDeterministically();
void BuildInteractionSet_IsUnionOfNearestAndSelected();
void BuildInteractionSet_SelectedBeyondNearest_IsStillPresent();
void BuildInteractionSet_EmptyNearest_EqualsSelected();
void Toggle_UnselectedIndex_BecomesSelected_AndRoundTripsThroughVolumeConstraints();
void Toggle_SelectedIndex_BecomesDeselected_AndRoundTripsThroughVolumeConstraints();
void LoadSelection_DiscardsOutOfRangeIndices();
void ApplySelection_IsSortedAscending();
};