Skip to content

Commit

Permalink
annotate remaining tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszaaa committed Oct 4, 2023
1 parent b172011 commit 7ced5e3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pallets/xyk/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,7 @@ fn multiswap_sell_just_enough_assets_pay_fee_but_not_to_swap_W() {
}

#[test]
#[serial]
fn multiswap_sell_with_two_hops_W() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand All @@ -1071,6 +1072,7 @@ fn multiswap_sell_with_two_hops_W() {
}

#[test]
#[serial]
fn multiswap_sell_with_single_hops_W() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand All @@ -1085,6 +1087,7 @@ fn multiswap_sell_with_single_hops_W() {
}

#[test]
#[serial]
fn multiswap_sell_same_pool_works_W() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand Down Expand Up @@ -1124,6 +1127,7 @@ fn multiswap_sell_same_pool_works_W() {
}

#[test]
#[serial]
fn multiswap_sell_loop_works_W() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand Down Expand Up @@ -1384,6 +1388,7 @@ fn buy_N_zero_amount() {
}

#[test]
#[serial]
fn multiswap_buy_W() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand Down Expand Up @@ -1441,6 +1446,7 @@ fn multiswap_buy_W() {
}

#[test]
#[serial]
fn multiswap_buy_bad_slippage_charges_fee_W() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand Down Expand Up @@ -1495,6 +1501,7 @@ fn multiswap_buy_bad_slippage_charges_fee_W() {
}

#[test]
#[serial]
fn multiswap_buy_bad_atomic_swap_charges_fee_W() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand Down Expand Up @@ -1552,6 +1559,7 @@ fn multiswap_buy_bad_atomic_swap_charges_fee_W() {
}

#[test]
#[serial]
fn multiswap_buy_not_enough_assets_pay_fees_fails_early_W() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand Down Expand Up @@ -1602,6 +1610,7 @@ fn multiswap_buy_not_enough_assets_pay_fees_fails_early_W() {
}

#[test]
#[serial]
fn multiswap_buy_just_enough_assets_pay_fee_but_not_to_swap_W() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand Down Expand Up @@ -1664,6 +1673,7 @@ fn multiswap_buy_just_enough_assets_pay_fee_but_not_to_swap_W() {
}

#[test]
#[serial]
fn multiswap_buy_with_two_hops_W() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand All @@ -1689,6 +1699,7 @@ fn multiswap_buy_with_two_hops_W() {
}

#[test]
#[serial]
fn multiswap_buy_with_single_hops_W() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand All @@ -1703,6 +1714,7 @@ fn multiswap_buy_with_single_hops_W() {
}

#[test]
#[serial]
fn multiswap_buy_same_pool_does_not_work_N() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand All @@ -1721,6 +1733,7 @@ fn multiswap_buy_same_pool_does_not_work_N() {
}

#[test]
#[serial]
fn multiswap_buy_loop_does_not_work_N() {
new_test_ext().execute_with(|| {
System::set_block_number(1);
Expand Down

0 comments on commit 7ced5e3

Please sign in to comment.