JayBeams  0.1
Another project to have fun coding.
ut_cross_type.cpp
Go to the documentation of this file.
2 #include <boost/test/unit_test.hpp>
3 
4 /**
5  * @test Verify that cross_type_t works as expected.
6  */
7 BOOST_AUTO_TEST_CASE(simple_cross_type) {
8  using namespace jb::itch5;
9  BOOST_CHECK_NO_THROW(cross_type_t(u'O'));
10  BOOST_CHECK_NO_THROW(cross_type_t(u'C'));
11  BOOST_CHECK_NO_THROW(cross_type_t(u'H'));
12  BOOST_CHECK_NO_THROW(cross_type_t(u'I'));
13  BOOST_CHECK_THROW(cross_type_t(u'*'), std::runtime_error);
14 }
Contains classes and functions to parse NASDAQ ITCH-5.0 messages, more information about ITCH-5...
BOOST_AUTO_TEST_CASE(simple_cross_type)
char_list_field< u 'O', u 'C', u 'H', u 'I'> cross_type_t
Represent the &#39;Cross Type&#39; field on &#39;Cross Trade&#39; and &#39;Net Order Imbalance Indicator&#39; messages...
Definition: cross_type.hpp:13