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/unit__test__entrezgene_8cpp_source.html below:

NCBI C++ ToolKit: src/objects/entrezgene/unit_test/unit_test_entrezgene.cpp Source File

83

BOOST_CHECK_EQUAL(eg_obj.

GetDescription

(),

"GNAS complex locus"

);

87

BOOST_CHECK_EQUAL(eg_obj.

GetDescription

(),

"cytochrome c oxidase subunit III"

);

91

BOOST_CHECK_EQUAL(eg_obj.

GetDescription

(),

"ATP synthase F0 subunit 6"

);

108

BOOST_CHECK_EQUAL(eg_obj.

GetSymbol

(),

"A1BG"

);

112

BOOST_CHECK_EQUAL(eg_obj.

GetSymbol

(),

"C813_RS15875"

);

116

BOOST_CHECK_EQUAL(eg_obj.

GetSymbol

(),

"SPCC794.14c"

);

120

BOOST_CHECK_EQUAL(eg_obj.

GetSymbol

(),

"LOC5066033"

);

133

BOOST_CHECK_EQUAL(nomen->

GetSymbol

(),

"MT-ND1"

);

134

BOOST_CHECK_EQUAL(nomen->

GetName

(),

"mitochondrially encoded NADH dehydrogenase 1"

);

143

BOOST_CHECK_EQUAL(nomen->

GetSymbol

(),

"TRNASTOP-UCA"

);

144

BOOST_CHECK_EQUAL(nomen->

GetName

(),

"transfer RNA opal suppressor (anticodon UCA)"

);

152

BOOST_CHECK_EQUAL(nomen->

GetSymbol

(),

"A1BG"

);

153

BOOST_CHECK_EQUAL(nomen->

GetName

(),

"alpha-1-B glycoprotein"

);

171

BOOST_CHECK_EQUAL(

true

, comment.

Empty

());

174

BOOST_CHECK_EQUAL(

true

, comment.

NotEmpty

());

176

BOOST_CHECK_EQUAL(

true

, comment->IsSetLabel());

177  if

(comment->IsSetLabel()) {

178

BOOST_CHECK_EQUAL(

"REVIEWED"

, comment->GetLabel());

190

BOOST_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