-
Notifications
You must be signed in to change notification settings - Fork 5
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: unit test for address file #1612
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
|
||
|
||
#[test] | ||
fn test_deref_address() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These types of tests would be better implemented as macros see https://github.com/cloudwalk/stratus/blob/main/src/ext.rs#L304
PR Type
Tests
Description
Address
struct and related functionalities insrc/eth/primitives/address.rs
.Address
.Address
and other types likeH160
,Token
, andRevmAddress
.Changes walkthrough 📝
address.rs
Add unit tests for `Address` struct and related functionalities
src/eth/primitives/address.rs
Address
struct and relatedfunctionalities.
Address
methods and traits.