[Sketcher][test] Create test for getConstraintAfterDeletingGeo+

[Sketcher] Add null case to constraint change on deletion checks
This commit is contained in:
Ajinkya Dahale
2024-08-12 00:39:38 +05:30
parent 201eca4d02
commit 0f3aff0eac
2 changed files with 71 additions and 0 deletions

View File

@@ -982,6 +982,8 @@ protected:
int thirdGeoId = GeoEnum::GeoUndef,
Sketcher::PointPos thirdPos = Sketcher::PointPos::none);
public:
// FIXME: These may not need to be public. Decide before merging.
std::unique_ptr<Constraint> getConstraintAfterDeletingGeo(const Constraint* constr,
const int deletedGeoId) const;