#include <sstream>
#include <fstream>
#include <string>
#include <list>
#include <boost/test/unit_test.hpp>
#include <opentrep/bom/StringPartition.hpp>
Go to the source code of this file.
Classes | |
struct | UnitTestConfig |
Macros | |
#define | BOOST_TEST_DYN_LINK |
#define | BOOST_TEST_MAIN |
#define | BOOST_TEST_MODULE PartitionTestSuite |
Functions | |
std::ofstream | utfReportStream ("PartitionTestSuite_utfresults.xml") |
BOOST_GLOBAL_FIXTURE (UnitTestConfig) | |
BOOST_AUTO_TEST_CASE (partition_small_string) | |
#define BOOST_TEST_DYN_LINK |
Definition at line 15 of file PartitionTestSuite.cpp.
#define BOOST_TEST_MAIN |
Definition at line 16 of file PartitionTestSuite.cpp.
#define BOOST_TEST_MODULE PartitionTestSuite |
Definition at line 17 of file PartitionTestSuite.cpp.
std::ofstream utfReportStream | ( | "PartitionTestSuite_utfresults.xml" | ) |
Referenced by UnitTestConfig::UnitTestConfig().
BOOST_GLOBAL_FIXTURE | ( | UnitTestConfig | ) |
BOOST_AUTO_TEST_CASE | ( | partition_small_string | ) |
Test the partitioning algorithm with a small string
Definition at line 56 of file PartitionTestSuite.cpp.
References OPENTREP::StringPartition::size().