NCBI C++ ToolKit
Macros | Functions | Variables
proteinkmer_unit_test.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbi_system.hpp>
#include <corelib/ncbiapp.hpp>
#include <serial/serial.hpp>
#include <serial/objistr.hpp>
#include <serial/objostr.hpp>
#include <serial/iterator.hpp>
#include <objects/seq/Bioseq.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <objects/seqloc/Seq_loc.hpp>
#include <objtools/simple/simple_om.hpp>
#include <objmgr/object_manager.hpp>
#include <objmgr/scope.hpp>
#include <util/sequtil/sequtil_convert.hpp>
#include <algo/blast/proteinkmer/blastkmer.hpp>
#include <algo/blast/proteinkmer/blastkmerutils.hpp>
#include <algo/blast/proteinkmer/blastkmerresults.hpp>
#include <algo/blast/proteinkmer/blastkmeroptions.hpp>
#include <algo/blast/proteinkmer/blastkmerindex.hpp>
#include <algo/blast/proteinkmer/kblastapi.hpp>
#include <algo/blast/api/objmgr_query_data.hpp>
#include <algo/blast/api/uniform_search.hpp>
#include <algo/blast/api/blast_prot_options.hpp>
#include <algo/blast/api/blast_advprot_options.hpp>
#include <algo/blast/blastinput/blast_input.hpp>
#include <corelib/test_boost.hpp>
#include <util/random_gen.hpp>
+ Include dependency graph for proteinkmer_unit_test.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define NCBI_TEST_APPLICATION
 

Functions

 USING_SCOPE (blast)
 
 USING_SCOPE (objects)
 
 BOOST_AUTO_TEST_CASE (KmerResults)
 
 BOOST_AUTO_TEST_CASE (KmerResultsSet)
 
 BOOST_AUTO_TEST_CASE (KmerResultsSetPushBack)
 
 BOOST_AUTO_TEST_CASE (SearchWithBadDatabase)
 
void s_GetRandomNumbers (uint32_t *a, uint32_t *b, int numHashes)
 
 BOOST_AUTO_TEST_CASE (CheckQueryHashes)
 
 BOOST_AUTO_TEST_CASE (CheckQueryHashesVersion3)
 
int s_GetNumLSHHits (uint64_t *lsh, int lshSize)
 
 BOOST_AUTO_TEST_CASE (BuildIndex)
 
 BOOST_AUTO_TEST_CASE (BuildIndexRepeats)
 
 BOOST_AUTO_TEST_CASE (BuildIndexNotValidSequence)
 
 BOOST_AUTO_TEST_CASE (BuildIndexWidth4Kmer4)
 
 BOOST_AUTO_TEST_CASE (BuildIndexFewerBands)
 
 BOOST_AUTO_TEST_CASE (BuildIndex10letterAlphabet)
 
 BOOST_AUTO_TEST_CASE (BuildIndex10letterVersion3)
 
 BOOST_AUTO_TEST_CASE (CheckEmptyIndexName)
 
 BOOST_AUTO_TEST_CASE (CheckNoIndex)
 
 BOOST_AUTO_TEST_CASE (CheckOptionValidation)
 
 BOOST_AUTO_TEST_CASE (BadOptionsThrow)
 

Variables

 USING_NCBI_SCOPE
 

Macro Definition Documentation

◆ NCBI_TEST_APPLICATION

#define NCBI_TEST_APPLICATION

Definition at line 35 of file proteinkmer_unit_test.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/17]

BOOST_AUTO_TEST_CASE ( BadOptionsThrow  )

◆ BOOST_AUTO_TEST_CASE() [2/17]

BOOST_AUTO_TEST_CASE ( BuildIndex  )

◆ BOOST_AUTO_TEST_CASE() [3/17]

BOOST_AUTO_TEST_CASE ( BuildIndex10letterAlphabet  )

◆ BOOST_AUTO_TEST_CASE() [4/17]

BOOST_AUTO_TEST_CASE ( BuildIndex10letterVersion3  )

◆ BOOST_AUTO_TEST_CASE() [5/17]

BOOST_AUTO_TEST_CASE ( BuildIndexFewerBands  )

◆ BOOST_AUTO_TEST_CASE() [6/17]

BOOST_AUTO_TEST_CASE ( BuildIndexNotValidSequence  )

◆ BOOST_AUTO_TEST_CASE() [7/17]

BOOST_AUTO_TEST_CASE ( BuildIndexRepeats  )

◆ BOOST_AUTO_TEST_CASE() [8/17]

BOOST_AUTO_TEST_CASE ( BuildIndexWidth4Kmer4  )

◆ BOOST_AUTO_TEST_CASE() [9/17]

BOOST_AUTO_TEST_CASE ( CheckEmptyIndexName  )

Definition at line 737 of file proteinkmer_unit_test.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/17]

BOOST_AUTO_TEST_CASE ( CheckNoIndex  )

◆ BOOST_AUTO_TEST_CASE() [11/17]

BOOST_AUTO_TEST_CASE ( CheckOptionValidation  )

◆ BOOST_AUTO_TEST_CASE() [12/17]

BOOST_AUTO_TEST_CASE ( CheckQueryHashes  )

◆ BOOST_AUTO_TEST_CASE() [13/17]

BOOST_AUTO_TEST_CASE ( CheckQueryHashesVersion3  )

◆ BOOST_AUTO_TEST_CASE() [14/17]

BOOST_AUTO_TEST_CASE ( KmerResults  )

◆ BOOST_AUTO_TEST_CASE() [15/17]

BOOST_AUTO_TEST_CASE ( KmerResultsSet  )

◆ BOOST_AUTO_TEST_CASE() [16/17]

BOOST_AUTO_TEST_CASE ( KmerResultsSetPushBack  )

◆ BOOST_AUTO_TEST_CASE() [17/17]

BOOST_AUTO_TEST_CASE ( SearchWithBadDatabase  )

◆ s_GetNumLSHHits()

int s_GetNumLSHHits ( uint64_t lsh,
int  lshSize 
)

Definition at line 522 of file proteinkmer_unit_test.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ s_GetRandomNumbers()

void s_GetRandomNumbers ( uint32_t a,
uint32_t b,
int  numHashes 
)

Definition at line 400 of file proteinkmer_unit_test.cpp.

References a, b, CRandom::GetRand(), and i.

Referenced by BOOST_AUTO_TEST_CASE().

◆ USING_SCOPE() [1/2]

USING_SCOPE ( blast  )

◆ USING_SCOPE() [2/2]

USING_SCOPE ( objects  )

Variable Documentation

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 77 of file proteinkmer_unit_test.cpp.

Modified on Sun Jul 21 04:20:04 2024 by modify_doxy.py rev. 669887