Skip to content

Fix CI: Replace pointTo:do: with loops in CTAlternateArray2D#33

Merged
jordanmontt merged 1 commit intopharo-containers:masterfrom
HossamSaberr:master
Mar 18, 2026
Merged

Fix CI: Replace pointTo:do: with loops in CTAlternateArray2D#33
jordanmontt merged 1 commit intopharo-containers:masterfrom
HossamSaberr:master

Conversation

@HossamSaberr
Copy link
Contributor

@HossamSaberr HossamSaberr commented Mar 10, 2026

This PR resolves the failing CI tests by rewriting allPositionsDo: and allPositionsWithin:from: in CTAlternateArray2D.

As discussed in the closed PR #32, adding an extension to Point (pointTo:do:) violates the minimal API principle. Instead of extending core Pharo classes, this PR implements standard x to: do: and y to: do: loops directly inside the methods.

All Tests are Green Now!

image

@jordanmontt jordanmontt merged commit 1442262 into pharo-containers:master Mar 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding new methods to fix CI Some tests fail

2 participants