A few rules:
- Follow our style guide.
- Format on save using Foundry formatter.
- Use named imports as much as possible.
- Import external dependencies first (libs, etc).
- Import from root
src/DFMM.sol
instead of../DFMM.sol
.
- Name the tests accordingly using the following format:
test_{name of the contract}_{name of the function}_{what should happen}
For example:
test_DFMM_init_IncrementsPoolId
.