-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-35537: [MATLAB] Create shared test class utility for numeric arrays #35556
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
Conversation
…tests for numeric arrays. 2. Change tFloat32Array and tFloat64Array to inherit from hNumericArray. Co-authored-by: Kevin Gurney <kgurney@mathworks.com>
kou
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|
@kevingurney would you mind reviewing this? |
|
(I think that @sgilmore10 and @kevingurney did pair programming.) |
|
Ah, +1 then! |
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
|
@assignUser and @kou - that's correct! @sgilmore10 and I have been pair programming on these MATLAB interface pull requests. |
|
Benchmark runs are scheduled for baseline = b80c655 and contender = 5002535. 5002535 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
|
['Python', 'R'] benchmarks have high level of regressions. |
Rationale for this change
To avoid writing duplicate tests, we created an an Abstract Test Class called
hNumericArraywhich defines tests that can be shared by all numeric array types. Concrete test classes can inherit from this class to automatically get the shared test points.What changes are included in this PR?
hNumericArraytFloat32Arrayto inherit fromhNumericArraytFloat64Arrayto inherit fromhNumericArrayAre these changes tested?
Are there any user-facing changes?
There are no user-facing changes in this PR. This PR only has test-related changes.