Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JacqueGM committed Aug 7, 2023
1 parent b9550ca commit 91915c9
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,14 @@ fn test_flow_large() {
let edges = read_edges();
let large_source = Address::from("0x3c89A829400Ea3B49F25738A1F4015A7961D0301");
let large_dest = Address::from("0x9BA1Bcd88E99d6E1E03252A70A63FEa83Bf1208c");
test_flow(&large_source, &large_dest, &edges, U256::MAX, None, Some(30));
test_flow(
&large_source,
&large_dest,
&edges,
U256::MAX,
None,
Some(30),
);
// test_flow(&large_source, &large_dest, &edges, U256::MAX, Some(10));
}

Expand All @@ -42,7 +49,6 @@ fn read_edges() -> EdgeDB {
.clone()
}


fn test_flow(
source: &Address,
sink: &Address,
Expand All @@ -51,7 +57,14 @@ fn test_flow(
max_distance: Option<u64>,
max_transfers: Option<u64>,
) {
let transfers = compute_flow(source, sink, edges, requested_flow, max_distance, max_transfers);
let transfers = compute_flow(
source,
sink,
edges,
requested_flow,
max_distance,
max_transfers,
);
println!("{transfers:?}");

let token_owners = transfers
Expand Down

0 comments on commit 91915c9

Please sign in to comment.