83        Env env(*
this, features);
 
   88        env.
fund(
XRP(10000), alice, gw1, gw2);
 
   92        auto const USD_gw1 = gw1[
"USD"];
 
   93        auto const USD_gw2 = gw2[
"USD"];
 
   95        env.
trust(USD_gw1(100), alice);
 
   96        env.
trust(USD_gw2(100), alice);
 
   98        env(
pay(gw1, alice, USD_gw1(50)));
 
   99        env(
pay(gw2, alice, USD_gw2(50)));
 
  101        STAmount const toCredit(USD_gw1(30));
 
  102        STAmount const toDebit(USD_gw1(20));
 
  107            auto const iss = USD_gw1.issue();
 
  117                startingAmount + toCredit);
 
  125                startingAmount + toCredit - toDebit);
 
  132            auto const iss = USD_gw1.issue();
 
  140                startingAmount + toCredit);
 
  146                startingAmount + toCredit - toDebit);
 
  154            auto const iss = USD_gw1.issue();
 
  174                startingAmount - toDebit);
 
  182            auto const iss = USD_gw1.issue();
 
  198            auto const iss = USD_gw1.issue();
 
  206                startingAmount - toDebit);
 
  214            auto const iss = USD_gw1.issue();
 
  230            auto const iss = USD_gw1.issue();
 
  252                        j) == startingAmount);
 
  254                    auto r = 
accountSend(pv2, gw1, alice, toCredit, j);
 
  264                        j) == startingAmount);
 
  274                startingAmount - toDebit);