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: basic liquidation tests #60

Merged
merged 16 commits into from
Apr 3, 2024
Merged

Test: basic liquidation tests #60

merged 16 commits into from
Apr 3, 2024

Conversation

haythemsellami
Copy link
Member

@haythemsellami haythemsellami commented Mar 20, 2024

Basic liquidation unit tests.

@haythemsellami haythemsellami self-assigned this Mar 20, 2024
@haythemsellami haythemsellami marked this pull request as draft March 20, 2024 18:14
@haythemsellami haythemsellami changed the title [WIP]Test: basic liquidation tests Test: basic liquidation tests Mar 28, 2024
@haythemsellami haythemsellami marked this pull request as ready for review March 28, 2024 17:03
import "src/EVault/shared/types/Types.sol";
import "src/EVault/shared/Constants.sol";

contract VaultTest_Liquidation is EVaultTestBase {
Copy link
Collaborator

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"

Copy link
Collaborator

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

Copy link
Member Author

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.

Copy link
Collaborator

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?

Copy link
Member Author

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.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sweet, thanks!

@haythemsellami haythemsellami removed the request for review from dglowinski April 1, 2024 14:02
@dglowinski dglowinski merged commit 4b6bad6 into master Apr 3, 2024
4 checks passed
@dglowinski dglowinski deleted the test/liquidation branch April 3, 2024 16:11
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.

2 participants