39 Protein emptyProtein(
"", 0,
"",
"");
43 ProteinPtr protein1(
new Protein(
"SPROT|42", 1,
"Life, the universe, and everything.",
""));
47 proteinListSimple->proteins.push_back(protein0);
48 proteinListSimple->proteins.push_back(protein1);
68 unit_assert(result.size()==2 && result[0]==0 && result[1]==1);
82 protein = proteinList.
protein(1);
88 int main(
int argc,
char* argv[])
virtual IndexList findKeyword(const std::string &keyword, bool caseSensitive=true) const
virtual size_t size() const =0
int main(int argc, char *argv[])
ProteinListPtr proteinListPtr
#define TEST_PROLOG(argc, argv)
void testProteinListSimple()
boost::shared_ptr< Protein > ProteinPtr
virtual size_t find(const std::string &id) const
virtual ProteinPtr protein(size_t index, bool getSequence=true) const =0