mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-07-05 02:51:26 +00:00
![]() Each test spawns swarm for Alice and Bob that only contains the spot_price behaviours and uses a memory transport. Tests cover happy path (i.e. expected price is returned) and error scenarios. Implementation of `TestRate` on `LatestRate` allows testing rate fetch error and quote calculation error behaviour. Thanks to @thomaseizinger for ramping up the test framework for comit-rs in the past! |
||
---|---|---|
.. | ||
cbor_request_response.rs | ||
encrypted_signature.rs | ||
impl_from_rr_event.rs | ||
json_pull_codec.rs | ||
quote.rs | ||
redial.rs | ||
spot_price.rs | ||
swarm.rs | ||
test.rs | ||
tor_transport.rs | ||
transfer_proof.rs | ||
transport.rs |