JayBeams  0.1
Another project to have fun coding.
ut_map_based_order_book.cpp
Go to the documentation of this file.
3 
4 #include <boost/test/unit_test.hpp>
5 
6 /**
7  * @test Trivial verification that map_based_order_book works as expected.
8  */
9 BOOST_AUTO_TEST_CASE(map_based_order_book_trivial) {
10  using namespace jb::itch5;
11  testing::test_order_book_type_trivial<map_based_order_book>();
12 }
13 
14 /**
15  * @test Verify that map_based_order_book handles add and reduce as expected.
16  */
17 BOOST_AUTO_TEST_CASE(map_based_order_book_test) {
18  using namespace jb::itch5;
19  testing::test_order_book_type_add_reduce<map_based_order_book>();
20 }
21 
22 /**
23  * @test Verify that map_based_order_book handles errors as expected.
24  */
25 BOOST_AUTO_TEST_CASE(map_based_order_book_errors) {
26  using namespace jb::itch5;
27  testing::test_order_book_type_errors<map_based_order_book>();
28 }
29 
30 /**
31  * @test Verify that map_based_order_book::config works as expected.
32  */
33 BOOST_AUTO_TEST_CASE(map_based_order_book_config_simple) {
34  using namespace jb::itch5;
35 
36  BOOST_CHECK_NO_THROW(map_based_order_book::config().validate());
37 }
Contains classes and functions to parse NASDAQ ITCH-5.0 messages, more information about ITCH-5...
BOOST_AUTO_TEST_CASE(map_based_order_book_trivial)
Configure an map_based_order_book config object.