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 some unit tests #2063

Merged
merged 1 commit into from
Oct 7, 2022
Merged

Add some unit tests #2063

merged 1 commit into from
Oct 7, 2022

Conversation

xyang16
Copy link
Contributor

@xyang16 xyang16 commented Oct 6, 2022

Description

Brief description of what this PR is about

Add some unit tests

@codecov-commenter
Copy link

codecov-commenter commented Oct 6, 2022

Codecov Report

Base: 72.08% // Head: 70.08% // Decreases project coverage by -2.00% ⚠️

Coverage data is based on head (c2f090b) compared to base (bb5073f).
Patch coverage: 70.69% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2063      +/-   ##
============================================
- Coverage     72.08%   70.08%   -2.01%     
- Complexity     5126     6035     +909     
============================================
  Files           473      600     +127     
  Lines         21970    26575    +4605     
  Branches       2351     2890     +539     
============================================
+ Hits          15838    18625    +2787     
- Misses         4925     6547    +1622     
- Partials       1207     1403     +196     
Impacted Files Coverage Δ
api/src/main/java/ai/djl/modality/cv/Image.java 69.23% <ø> (-4.11%) ⬇️
...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java 76.00% <ø> (ø)
...rc/main/java/ai/djl/modality/cv/output/Joints.java 71.42% <ø> (ø)
.../main/java/ai/djl/modality/cv/output/Landmark.java 100.00% <ø> (ø)
...main/java/ai/djl/modality/cv/output/Rectangle.java 72.41% <0.00%> (ø)
...i/djl/modality/cv/translator/BigGANTranslator.java 21.42% <0.00%> (-5.24%) ⬇️
.../cv/translator/SemanticSegmentationTranslator.java 0.00% <0.00%> (ø)
.../ai/djl/modality/cv/translator/YoloTranslator.java 27.77% <0.00%> (+18.95%) ⬆️
...modality/cv/translator/wrapper/FileTranslator.java 44.44% <ø> (ø)
...y/cv/translator/wrapper/InputStreamTranslator.java 44.44% <ø> (ø)
... and 519 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@xyang16 xyang16 merged commit 9c8f6c0 into deepjavalibrary:master Oct 7, 2022
@xyang16 xyang16 deleted the test branch May 2, 2023 19:59
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.

3 participants