Skip to content

Commit

Permalink
remove prints after fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oxarbitrage committed Dec 25, 2018
1 parent 613f414 commit 3aec53d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tests/tests/market_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1292,10 +1292,7 @@ BOOST_AUTO_TEST_CASE(target_cr_test_limit_call)
BOOST_CHECK_LT( call2_to_cover.value, call2_id(db).debt.value );
// even though call2 has a higher CR, since call's TCR is less than call2's TCR, so we expect call will cover less when called
BOOST_CHECK_LT( call_to_cover.value, call2_to_cover.value );

//print_market(asset_id_type(1)(db).symbol, asset_id_type()(db).symbol);
print_call_orders();


// Create a big sell order slightly below the call price, will be matched with several orders
BOOST_CHECK( !create_sell_order(seller, bitusd.amount(700*4), core.amount(5900*4) ) );

Expand All @@ -1305,10 +1302,6 @@ BOOST_AUTO_TEST_CASE(target_cr_test_limit_call)
BOOST_CHECK_EQUAL( 10, get_balance(buyer3, bitusd) );
BOOST_CHECK_EQUAL( init_balance - 111, get_balance(buyer3, core) );

//print_market(asset_id_type(1)(db).symbol, asset_id_type()(db).symbol);
print_call_orders();
return;

// then it will match with call, at mssp: 1/11 = 1000/11000
const call_order_object* tmp_call = db.find<call_order_object>( call_id );
BOOST_CHECK( tmp_call != nullptr );
Expand Down

0 comments on commit 3aec53d

Please sign in to comment.