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

Extend test coverage #310

Merged
merged 5 commits into from
Mar 20, 2023
Merged

Conversation

cary-ilm
Copy link
Member

  • more colors for rgb2hsv/hsv2rgb
  • misc Frustum methods
  • FrustumTest::completelyContains
  • drand48/lrand48
  • 2D color array
  • PyImathTestC tests wrap/convert (an internal ILM test that never got uploaded)

Signed-off-by: Cary Phillips <[email protected]>
Signed-off-by: Cary Phillips <[email protected]>
Signed-off-by: Cary Phillips <[email protected]>
Signed-off-by: Cary Phillips <[email protected]>
Copy link
Contributor

@meshula meshula left a comment

Choose a reason for hiding this comment

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

man, you're on fire. Have you got some sort of automation helping identify holes in testing?

@cary-ilm
Copy link
Member Author

https://sonarcloud.io/component_measures?metric=coverage&view=list&id=AcademySoftwareFoundation_Imath

@cary-ilm cary-ilm merged commit 7355971 into AcademySoftwareFoundation:main Mar 20, 2023
@lgritz
Copy link
Contributor

lgritz commented Mar 20, 2023

Good progress on the coverage improvements! What was the % at a couple weeks ago?

@cary-ilm
Copy link
Member Author

Imath is at 81.9%, up from 75.4%. Progress is slow. The main Imath library is at 90.4%, but the python bindings are at 69.3%. I was able to pull in some tests from ILM that had never gotten uploaded, which helped. It's really tedious getting the python script to use all the operators, there are so many.

https://sonarcloud.io/component_measures?metric=coverage&view=list&id=AcademySoftwareFoundation_Imath

@cary-ilm
Copy link
Member Author

cary-ilm added a commit to cary-ilm/Imath that referenced this pull request May 19, 2023
* PyImathTestC

Signed-off-by: Cary Phillips <[email protected]>

* Random, Color, Frustum, PyImathTestC

Signed-off-by: Cary Phillips <[email protected]>

* Python_VERSION

Signed-off-by: Cary Phillips <[email protected]>

* set PYTHONPATH property

Signed-off-by: Cary Phillips <[email protected]>

* remove <iostream>

Signed-off-by: Cary Phillips <[email protected]>

---------

Signed-off-by: Cary Phillips <[email protected]>
cary-ilm added a commit that referenced this pull request May 21, 2023
* PyImathTestC

Signed-off-by: Cary Phillips <[email protected]>

* Random, Color, Frustum, PyImathTestC

Signed-off-by: Cary Phillips <[email protected]>

* Python_VERSION

Signed-off-by: Cary Phillips <[email protected]>

* set PYTHONPATH property

Signed-off-by: Cary Phillips <[email protected]>

* remove <iostream>

Signed-off-by: Cary Phillips <[email protected]>

---------

Signed-off-by: Cary Phillips <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants