104 Env env(*
this, features);
109 env.
fund(
XRP(10000), alice, gw1, gw2);
113 auto const usdGw1 = gw1[
"USD"];
114 auto const usdGw2 = gw2[
"USD"];
116 env.
trust(usdGw1(100), alice);
117 env.
trust(usdGw2(100), alice);
119 env(
pay(gw1, alice, usdGw1(50)));
120 env(
pay(gw2, alice, usdGw2(50)));
122 STAmount const toCredit(usdGw1(30));
128 auto const iss = usdGw1;
129 auto const startingAmount =
138 startingAmount + toCredit);
146 startingAmount + toCredit - toDebit);
153 auto const iss = usdGw1;
154 auto const startingAmount =
161 startingAmount + toCredit);
167 startingAmount + toCredit - toDebit);
175 auto const iss = usdGw1;
176 auto const startingAmount =
195 startingAmount - toDebit);
203 auto const iss = usdGw1;
204 auto const startingAmount =
219 auto const iss = usdGw1;
220 auto const startingAmount =
227 startingAmount - toDebit);
235 auto const iss = usdGw1;
236 auto const startingAmount =
251 auto const iss = usdGw1;
252 auto const startingAmount =
271 auto r =
accountSend(pv2, gw1, alice, toCredit, j);
287 startingAmount - toDebit);