BOOST_REQUIRE_EQUAL("assertion failure with message: must increase bid by 10%",bidname("sam","nofail",core_from_string("1.0000")));// didn't increase bid by 10%
BOOST_REQUIRE_EQUAL(success(),bidname("sam","nofail",core_from_string("2.0000")));// didn't increase bid by 10%
produce_block(fc::days(1));
produce_block();
BOOST_REQUIRE_THROW(create_accounts_with_resources({N(nofail)},N(dan)),fc::exception);// dan shoudn't be able to do this, sam won
BOOST_REQUIRE_EXCEPTION(create_accounts_with_resources({N(nofail)},N(dan)),// dan shoudn't be able to do this, sam won
eosio_assert_message_exception,eosio_assert_message_is("only highest bidder can claim"));
//wlog( "verify sam can create nofail" );
create_accounts_with_resources({N(nofail)},N(sam));// sam should be able to do this, he won the bid