BOOST_CHECK_EQUAL(eg_obj.
GetDescription(),
"GNAS complex locus");
87BOOST_CHECK_EQUAL(eg_obj.
GetDescription(),
"cytochrome c oxidase subunit III");
91BOOST_CHECK_EQUAL(eg_obj.
GetDescription(),
"ATP synthase F0 subunit 6");
108BOOST_CHECK_EQUAL(eg_obj.
GetSymbol(),
"A1BG");
112BOOST_CHECK_EQUAL(eg_obj.
GetSymbol(),
"C813_RS15875");
116BOOST_CHECK_EQUAL(eg_obj.
GetSymbol(),
"SPCC794.14c");
120BOOST_CHECK_EQUAL(eg_obj.
GetSymbol(),
"LOC5066033");
133BOOST_CHECK_EQUAL(nomen->
GetSymbol(),
"MT-ND1");
134BOOST_CHECK_EQUAL(nomen->
GetName(),
"mitochondrially encoded NADH dehydrogenase 1");
143BOOST_CHECK_EQUAL(nomen->
GetSymbol(),
"TRNASTOP-UCA");
144BOOST_CHECK_EQUAL(nomen->
GetName(),
"transfer RNA opal suppressor (anticodon UCA)");
152BOOST_CHECK_EQUAL(nomen->
GetSymbol(),
"A1BG");
153BOOST_CHECK_EQUAL(nomen->
GetName(),
"alpha-1-B glycoprotein");
171BOOST_CHECK_EQUAL(
true, comment.
Empty());
174BOOST_CHECK_EQUAL(
true, comment.
NotEmpty());
176BOOST_CHECK_EQUAL(
true, comment->IsSetLabel());
177 if(comment->IsSetLabel()) {
178BOOST_CHECK_EQUAL(
"REVIEWED", comment->GetLabel());
190BOOST_CHECK_EQUAL(
true, pubs.count(21591266) == 1);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
string GetDescription() const
CRef< CGene_commentary > FindComment(const string &heading) const
CRef< CGene_nomenclature > GetNomenclature() const
void GetPubs(set< NCBI_NS_NCBI::TEntrezId > &pubs) const
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
void SetDatabase(const string &database)
Setting new database disconnects the request.
void AddId(const string &id)
Add a single id to the list.
const CEUtils_IdGroup & GetId(void) const
Group of ids to retrieve.
void Read(string *content)
Read the whole stream into the string.
#define MSerial_AsnText
I/O stream manipulators â.
bool NotEmpty(void) const THROWS_NONE
Check if CRef is not empty â pointing to an object and has a non-null value.
bool Empty(void) const THROWS_NONE
Check if CRef is empty â not pointing to any object, which means having a null value.
const TGene & GetGene(void) const
Get the Gene member data.
bool IsSetFormal_name(void) const
Check if a value has been assigned to Formal_name data member.
const TSource & GetSource(void) const
Get the Source member data.
const TSymbol & GetSymbol(void) const
Get the Symbol member data.
TStatus GetStatus(void) const
Get the Status member data.
const TName & GetName(void) const
Get the Name member data.
const TTag & GetTag(void) const
Get the Tag member data.
const TDb & GetDb(void) const
Get the Db member data.
const TStr & GetStr(void) const
Get the variant data.
where both of them are integers Note
void SleepMilliSec(unsigned long ml_sec, EInterruptOnSignal onsignal=eRestartOnSignal)
Defines the CNcbiApplication and CAppException classes for creating NCBI applications.
Utility stuff for more convenient using of Boost.Test library.
static void s_GetObject(const string &gene_id, CEntrezgene &eg_obj)
BOOST_AUTO_TEST_CASE(s_TestDescription)
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