Repository navigation
Added missing integration tests for the pow and power functions - #247
Conversation
Signed-off-by: Matthew Wells <[email protected]>
|
Can you also add a test where the result would be |
Codecov Report
@@ Coverage Diff @@
## integ-pow-it #247 +/- ##
===============================================
Coverage ? 98.39%
Complexity ? 3717
===============================================
Files ? 343
Lines ? 9159
Branches ? 584
===============================================
Hits ? 9012
Misses ? 142
Partials ? 5
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Is there a mathematical equation that would cause pow/power to output a null or do you want me to force a null value by giving it invalid data? |
|
From what I have seen with the other tests IT don't actually ever test for null or invalid values, those are testing in the unit tests. Also if you try to input data that would cause an invalid outcome the tests returns an |
…pdated IT to test for invalid output Signed-off-by: Matthew Wells <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
GumpacG
left a comment
There was a problem hiding this comment.
LGTM! Although, some GH actions are failing.
Signed-off-by: Matthew Wells <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
opensearch-project#1457) * Changed pow and power to return null when an invalid response would be returned and added missing integration tests for the pow and power function. Signed-off-by: Matthew Wells <[email protected]>
opensearch-project#1457) (opensearch-project#1459) * Changed pow and power to return null when an invalid response would be returned and added missing integration tests for the pow and power function. Signed-off-by: Matthew Wells <[email protected]> (cherry picked from commit a35f963) Co-authored-by: Matthew Wells <[email protected]>
….util references (#247) Signed-off-by: Naveen Tatikonda <[email protected]>
Description
Add integration tests for the pow and power functions which were previously missing it
Issues Resolved
opensearch-project#1190
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.