Tweaked test.

This commit is contained in:
Pedro Pinto committed 2020-09-07 14:41:08 -04:00
1 parent 0f8ae1e345
commit d5bc1a0acb
1 file changed
+4 -4
@@ -5,8 +5,8 @@
#include "lib/utils/TempFile.h"
#include "lib/utils/overloaded.h"
#include "lib/utils/type_name.h"
#include "server/sparkd/cmds/spartan/md/mdp3/back_testing/FifoPriceLevelMatcher.h"
#include "server/sparkd/cmds/spartan/md/mdp3/back_testing/FifoSecurityMatcher.h"
#include "server/sparkd/cmds/spartan/md/mdp3/back_testing/matcher/FifoPriceLevelMatcher.h"
#include "server/sparkd/cmds/spartan/md/mdp3/back_testing/matcher/FifoSecurityMatcher.h"
#include "server/sparkd/cmds/spartan/md/mdp3/common/InstrumentSnapshot.h"
#include "server/sparkd/cmds/spartan/md/mdp3/feed_control/AB_Arbitrageur.h"
#include "server/sparkd/cmds/spartan/md/mdp3/feed_control/IFeedController.h"
@@ -100,12 +100,12 @@ TEST_CASE("spartan_md", "[spartan_md]") {
auto buy_ok = is->build_book_from_orders(api::SIDE_BUY) ==
is->book(api::SIDE_BUY);
if (!buy_ok)
std::cout << "shit";
debug_break();
REQUIRE(buy_ok);
auto sell_ok = is->build_book_from_orders(api::SIDE_SELL) ==
is->book(api::SIDE_SELL);
if (!sell_ok)
std::cout << "shit";
debug_break();
REQUIRE(sell_ok);
}
}