Skip to content

Commit

Permalink
happy clippy happy life
Browse files Browse the repository at this point in the history
  • Loading branch information
enthusiastmartin committed Jul 7, 2023
1 parent 1667957 commit b5e5826
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions math/src/stableswap/tests/multi_assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ fn calculate_withdraw_should_return_correct_amount_when_removing_provided_shares
fn calculate_out_given_in_with_fee_should_work_when_reserves_have_different_precision() {
let amp = 1000_u128;

let balances: [Balance; 3] = [1000_000_000, 3000_000_000, 5_000_000_000_000_000_000_000];
let balances: [Balance; 3] = [1_000_000_000, 3_000_000_000, 5_000_000_000_000_000_000_000];

let result = calculate_out_given_in_with_fee::<D_ITERATIONS, Y_ITERATIONS>(
&balances,
Expand All @@ -379,7 +379,7 @@ fn calculate_out_given_in_with_fee_should_work_when_reserves_have_different_prec
fn calculate_out_given_in_with_zero_fee_should_work_when_reserves_have_different_precision() {
let amp = 1000_u128;

let balances: [Balance; 3] = [1000_000_000, 3000_000_000, 5_000_000_000_000_000_000_000];
let balances: [Balance; 3] = [1_000_000_000, 3_000_000_000, 5_000_000_000_000_000_000_000];

let result = calculate_out_given_in_with_fee::<D_ITERATIONS, Y_ITERATIONS>(
&balances,
Expand All @@ -406,7 +406,7 @@ fn calculate_out_given_in_with_zero_fee_should_work_when_reserves_have_different
fn calculate_in_given_out_with_fee_should_work_when_reserves_have_different_precision() {
let amp = 1000_u128;

let balances: [Balance; 3] = [1000_000_000, 3000_000_000, 5_000_000_000_000_000_000_000];
let balances: [Balance; 3] = [1_000_000_000, 3_000_000_000, 5_000_000_000_000_000_000_000];

let result = calculate_in_given_out_with_fee::<D_ITERATIONS, Y_ITERATIONS>(
&balances,
Expand All @@ -433,7 +433,7 @@ fn calculate_in_given_out_with_fee_should_work_when_reserves_have_different_prec
fn calculate_in_given_out_with_zero_fee_should_work_when_reserves_have_different_precision() {
let amp = 1000_u128;

let balances: [Balance; 3] = [1000_000_000, 3000_000_000, 5_000_000_000_000_000_000_000];
let balances: [Balance; 3] = [1_000_000_000, 3_000_000_000, 5_000_000_000_000_000_000_000];

let result = calculate_in_given_out_with_fee::<D_ITERATIONS, Y_ITERATIONS>(
&balances,
Expand Down

0 comments on commit b5e5826

Please sign in to comment.