Go to the SVN repository for this file.
51unique_ptr<CLocalTaxon>
tax1;
94 autosynonyms =
tax1->GetSynonyms(562);
95list<string> expected_synonyms = {
98 "Bacterium coli commune",
102BOOST_REQUIRE_MESSAGE( synonyms.size() == 4,
"Number of synonyms returned is not 4");
103 for(
autoexpected_synonym: expected_synonyms) {
104BOOST_REQUIRE_MESSAGE( std::find(synonyms.begin(), synonyms.end(), expected_synonym) != synonyms.end(), expected_synonym +
" not found in the output");
106 for(
autosynonym: synonyms) {
107BOOST_REQUIRE_MESSAGE( std::find(expected_synonyms.begin(), expected_synonyms.end(), synonym) != expected_synonyms.end(), synonym +
" is an extra synonym found in the output");
static void AddArguments(CArgDescriptions &arg_desc)
static CNcbiApplication * Instance(void)
Singleton method.
ESerialDataFormat
Data file format.
@ eSerial_AsnBinary
ASN.1 binary.
#define NCBITEST_DEPENDS_ON(test_name, dep_name)
Add dependency between test test_name and dep_name.
NCBITEST_INIT_CMDLINE(arg_desc)
unique_ptr< CLocalTaxon > tax1
BOOST_AUTO_TEST_CASE(test_local_taxon_init)
BOOST_AUTO_TEST_SUITE_END()
Auxiliary class to convert a string into an argument count and vector.
Defines the CNcbiApplication and CAppException classes for creating NCBI applications.
#define GetArgs
Avoid preprocessor name clash with the NCBI C Toolkit.
BOOST_AUTO_TEST_SUITE(psiblast_iteration)
Utility stuff for more convenient using of Boost.Test library.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4