|
|
@ -127,6 +127,7 @@ async fn test_trade_one_individual_item() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap());
|
|
|
@ -228,6 +229,7 @@ async fn test_trade_player2_to_player1() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap());
|
|
|
@ -329,6 +331,7 @@ async fn test_reverse_trade_ack_order() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap());
|
|
|
@ -641,6 +644,7 @@ async fn test_trade_individual_both() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap()];
|
|
|
@ -654,6 +658,7 @@ async fn test_trade_individual_both() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap()];
|
|
|
@ -1464,6 +1469,7 @@ async fn test_trade_individual_for_stacked() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap()];
|
|
|
@ -1634,6 +1640,7 @@ async fn test_trade_multiple_individual() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -1646,6 +1653,7 @@ async fn test_trade_multiple_individual() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -1660,6 +1668,7 @@ async fn test_trade_multiple_individual() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -1672,6 +1681,7 @@ async fn test_trade_multiple_individual() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -2161,6 +2171,7 @@ async fn test_trade_not_enough_inventory_space_individual() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}
|
|
|
@ -2183,6 +2194,7 @@ async fn test_trade_not_enough_inventory_space_individual() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}
|
|
|
@ -2300,6 +2312,7 @@ async fn test_trade_not_enough_inventory_space_stacked() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}
|
|
|
@ -2782,6 +2795,7 @@ async fn test_back_out_of_trade_last_minute() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap());
|
|
|
@ -2850,6 +2864,7 @@ async fn test_valid_trade_when_both_inventories_are_full() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}
|
|
|
@ -2872,6 +2887,7 @@ async fn test_valid_trade_when_both_inventories_are_full() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}
|
|
|
@ -2992,6 +3008,7 @@ async fn test_invalid_trade_when_both_inventories_are_full() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}
|
|
|
@ -3014,6 +3031,7 @@ async fn test_invalid_trade_when_both_inventories_are_full() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}
|
|
|
@ -3213,6 +3231,7 @@ async fn test_add_then_remove_individual_item() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap());
|
|
|
@ -3670,6 +3689,7 @@ async fn test_items_to_trade_data_does_not_match() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap());
|
|
|
@ -3715,6 +3735,7 @@ async fn test_items_to_trade_data_does_not_match() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
)});
|
|
|
|
let titems = TradeItemBuilder::default()
|
|
|
@ -3753,6 +3774,7 @@ async fn test_items_to_trade_id_does_not_match() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap());
|
|
|
@ -3972,6 +3994,7 @@ async fn test_items_to_trade_count_less_than() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -3984,6 +4007,7 @@ async fn test_items_to_trade_count_less_than() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -3996,6 +4020,7 @@ async fn test_items_to_trade_count_less_than() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -4076,6 +4101,7 @@ async fn test_items_to_trade_count_greater_than() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -4088,6 +4114,7 @@ async fn test_items_to_trade_count_greater_than() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -4100,6 +4127,7 @@ async fn test_items_to_trade_count_greater_than() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -4184,6 +4212,7 @@ async fn test_items_to_trade_count_mismatch_with_meseta() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -4196,6 +4225,7 @@ async fn test_items_to_trade_count_mismatch_with_meseta() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -4208,6 +4238,7 @@ async fn test_items_to_trade_count_mismatch_with_meseta() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap(),
|
|
|
@ -4286,6 +4317,7 @@ async fn test_dropping_item_after_trade() { |
|
|
|
special: None,
|
|
|
|
attrs: [None, None, None],
|
|
|
|
tekked: true,
|
|
|
|
kills: None,
|
|
|
|
}
|
|
|
|
),
|
|
|
|
}).await.unwrap());
|
|
|
|