Skip to content

Commit

Permalink
test: add unit tests for trade creation and price impact (#13)
Browse files Browse the repository at this point in the history
This commit introduces several unit tests for the `create_unchecked_trade` function and related functionalities. Tests include validating input and output currency matching, simulating trades with single and multiple routes, and checking price impact calculations. These tests aim to enhance code reliability and ensure consistent behavior across the trading module.
  • Loading branch information
shuhuiluo authored Dec 1, 2024
1 parent 73f5e22 commit 5953c65
Showing 1 changed file with 599 additions and 0 deletions.
Loading

0 comments on commit 5953c65

Please sign in to comment.