Skip to content

Commit

Permalink
test: update tests to new pricing
Browse files Browse the repository at this point in the history
  • Loading branch information
Th0rgal committed May 1, 2024
1 parent b33f4a6 commit 3074adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/test_pricing.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fn test_buy_price() {
// Test with "b" / 1 letter and one year
let (erc20, price) = pricing.compute_buy_price(1, 365);
assert(erc20.into() == 0x123, 'wrong erc20 address');
assert(price == 195000000000000090, 'incorrect price');
assert(price == 292500000000000135, 'incorrect price');

// Test with "be" / 2 letters and one year
let (_erc20, price) = pricing.compute_buy_price(2, 365);
Expand Down

0 comments on commit 3074adc

Please sign in to comment.