2 @brief Test basic FTDI functionality
7 /***************************************************************************
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU Lesser General Public License *
11 * version 2.1 as published by the Free Software Foundation; *
13 ***************************************************************************/
15 #define BOOST_TEST_DYN_LINK
16 #define BOOST_TEST_MAIN
17 #include <boost/test/unit_test.hpp>
21 BOOST_AUTO_TEST_SUITE(Basic)
23 BOOST_AUTO_TEST_CASE(SimpleInit)
27 int rtn_init = ftdi_init(&ftdi);
28 BOOST_REQUIRE_EQUAL(0, rtn_init);
33 BOOST_AUTO_TEST_SUITE_END()