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

test(p/uint256): Increase Test Coverage for uint256 Package #2931

Merged
merged 7 commits into from
Oct 23, 2024

Conversation

notJoon
Copy link
Member

@notJoon notJoon commented Oct 10, 2024

Description

Screenshot 2024-10-10 at 2 53 28 PM

Increased the test coverage of the p/demo/uint256 package. Previously, only about 40% was covered, but now it has increased to 90% (checked in go).

The existing implementation of the uint256 function is unmodified except for modifying it to use the strconv package.

  • Added new tests, or not needed, or not feasible
  • Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory
  • Updated the official documentation or not needed
  • No breaking changes were made, or a BREAKING CHANGE: xxx message was included in the description
  • Added references to related issues and PRs
  • Provided any useful hints for running manual tests
  • Added new benchmarks to generated graphs, if any. More info here.

@notJoon notJoon requested review from a team as code owners October 10, 2024 05:54
@notJoon notJoon requested review from jaekwon and petar-dambovaliev and removed request for a team October 10, 2024 05:54
@github-actions github-actions bot added the 🧾 package/realm Tag used for new Realms or Packages. label Oct 10, 2024
Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.39%. Comparing base (247f2c6) to head (d797500).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2931      +/-   ##
==========================================
- Coverage   63.39%   63.39%   -0.01%     
==========================================
  Files         565      565              
  Lines       79390    79390              
==========================================
- Hits        50329    50327       -2     
- Misses      25673    25674       +1     
- Partials     3388     3389       +1     
Flag Coverage Δ
contribs/gnodev 60.57% <ø> (ø)
contribs/gnofaucet 15.77% <ø> (+0.94%) ⬆️
gno.land 67.37% <ø> (ø)
gnovm 67.86% <ø> (ø)
misc/genstd 79.72% <ø> (ø)
tm2 62.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jefft0 jefft0 added the review/triage-pending PRs opened by external contributors that are waiting for the 1st review label Oct 10, 2024
Copy link
Contributor

@jefft0 jefft0 left a comment

Choose a reason for hiding this comment

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

In examples/gno.land/p/demo/uint256, gno test . passes .

@jefft0 jefft0 removed the review/triage-pending PRs opened by external contributors that are waiting for the 1st review label Oct 18, 2024
@jefft0
Copy link
Contributor

jefft0 commented Oct 18, 2024

Removed the "review/triage-pending" label because jefft0 approved. Ready for core dev review.

@thehowl thehowl changed the title test(p/uint25): Increase Test Coverage for uint256 Package test(p/uint256): Increase Test Coverage for uint256 Package Oct 23, 2024
@thehowl thehowl merged commit 5e71837 into gnolang:master Oct 23, 2024
118 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧾 package/realm Tag used for new Realms or Packages.
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants