Skip to content

Commit

Permalink
test(p/uint256): Increase Test Coverage for uint256 Package (#2931)
Browse files Browse the repository at this point in the history
# Description

<img width="728" alt="Screenshot 2024-10-10 at 2 53 28 PM"
src="https://github.com/user-attachments/assets/0c38769d-b80d-4850-b8c9-6bd3c37d8b6f">

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.

- [X] 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
- [X] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>

---------

Co-authored-by: Morgan <[email protected]>
  • Loading branch information
notJoon and thehowl authored Oct 23, 2024
1 parent 247f2c6 commit 5e71837
Show file tree
Hide file tree
Showing 7 changed files with 760 additions and 442 deletions.
Loading

0 comments on commit 5e71837

Please sign in to comment.