-
Notifications
You must be signed in to change notification settings - Fork 28
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: basic liquidation tests #60
Conversation
Signed-off-by: Haythem Sellami <[email protected]>
import "src/EVault/shared/types/Types.sol"; | ||
import "src/EVault/shared/Constants.sol"; | ||
|
||
contract VaultTest_Liquidation is EVaultTestBase { |
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.
The tests are a bit unstructured right now, but overall idea is to match the folder and file structure with the contracts tested. So in this case, as the module tested is liquidation, it would be `/evault/modules/Liquidation.t.sol"
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.
correction: /evault/modules/Liquidation/Liquidation.t.sol
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.
Okay I moved it, let's merge this one and I will start porting old tests.
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.
what about the other comments?
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.
All comments should be addressed now.
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.
Sweet, thanks!
Basic liquidation unit tests.