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

Closes #2547, #2553, #2554, #2555 - setops_tests.py conversion for new test framework #2556

Merged
merged 5 commits into from
Jul 10, 2023

Conversation

Ethan-DeBandi99
Copy link
Contributor

Closes #2547, #2553, #2554, #2555

This PR converts the setops_tests.py testing for use in the new test framework. These tests have been updated to provide better coverage of the codebase for setops. This coverage exposed a few shortcomings within the existing setops. #2553, #2554, and #2555 were added to address these. All of the resolutions were simple and added within this PR.

  • Tests all set operations with single pdarrays
  • Tests all set operations with multiple pdarrays
  • Tests all supported types
  • Tests generic large scale case and small expected results cases.
  • Tests validation in multiarray case

There may be some further simplification that can be done, so please let me know if you see anything.

Copy link
Member

@stress-tess stress-tess left a comment

Choose a reason for hiding this comment

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

A few ideas for restructuring

arkouda/pdarraysetops.py Outdated Show resolved Hide resolved
PROTO_tests/tests/setops_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/setops_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/setops_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/setops_test.py Show resolved Hide resolved
PROTO_tests/tests/setops_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/setops_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/setops_test.py Show resolved Hide resolved
PROTO_tests/tests/setops_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/setops_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/setops_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/setops_test.py Outdated Show resolved Hide resolved
Copy link
Contributor

@jaketrookman jaketrookman left a comment

Choose a reason for hiding this comment

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

Looks good

Copy link
Contributor

@TheOddCzar789 TheOddCzar789 left a comment

Choose a reason for hiding this comment

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

Looks good to me

@stress-tess stress-tess enabled auto-merge July 10, 2023 20:41
@stress-tess stress-tess added this pull request to the merge queue Jul 10, 2023
Merged via the queue into Bears-R-Us:master with commit 8485527 Jul 10, 2023
@Ethan-DeBandi99 Ethan-DeBandi99 deleted the 2547_setops_test_upd branch July 11, 2023 12:22
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.

setops_test.py Conversion to new test framework
4 participants