A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/local__taxon__unit__test_8cpp_source.html below:

NCBI C++ ToolKit: src/objects/taxon1/unit_test/local_taxon_unit_test.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

51

unique_ptr<CLocalTaxon>

tax1

;

94  auto

synonyms =

tax1

->GetSynonyms(562);

95

list<string> expected_synonyms = {

98  "Bacterium coli commune"

,

102

BOOST_REQUIRE_MESSAGE( synonyms.size() == 4,

"Number of synonyms returned is not 4"

);

103  for

(

auto

expected_synonym: expected_synonyms) {

104

BOOST_REQUIRE_MESSAGE( std::find(synonyms.begin(), synonyms.end(), expected_synonym) != synonyms.end(), expected_synonym +

" not found in the output"

);

106  for

(

auto

synonym: synonyms) {

107

BOOST_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