Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 3-arg Select and go over... #1210

Merged
merged 4 commits into from
Dec 11, 2024
Merged

Add 3-arg Select and go over... #1210

merged 4 commits into from
Dec 11, 2024

Conversation

rocky
Copy link
Member

@rocky rocky commented Dec 5, 2024

Add 3-argument Select, by adding a parameter inside Structure's filter function.

Go over Structure class:

  • remove duplication of filter() and add the count functionality needed by Select[]

Update over Select doctests for 3 arg form. Move error checking to pytest where it belongs.

Select[] count-parameter issue is mentioned in Mathics3/Mathics3-Rubi#2

Add 3-argument Select, by adding a parameter inside Structure's filter function.

Go over Structure class:
   * remove duplication of filter() and add the count functionality needed
     by Select[]

Update over Select doctests for 3 arg form. Move error checking to pytest where it belongs.
Also, broaden infinity tests on counts
rocky added 2 commits December 5, 2024 14:23
This seems to be a result of recent work adding in unicode operators
This way we can deal with either unicode output of ASCII output.

Also, start to split up monster test_strings.py unit test closer to the
way the modules are written.
Copy link
Contributor

@mmatera mmatera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rocky rocky merged commit ed5e212 into master Dec 11, 2024
11 of 13 checks passed
@rocky rocky deleted the beef-up-Select branch December 11, 2024 00:04
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.

2 participants