NCBI C++ ToolKit
Classes | Functions | Variables
phiblast_unit_test.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/test_boost.hpp>
#include <algo/blast/api/blast_aux.hpp>
#include <algo/blast/core/lookup_wrap.h>
#include <algo/blast/core/blast_setup.h>
#include <algo/blast/core/blast_encoding.h>
#include <algo/blast/core/phi_lookup.h>
#include <algo/blast/core/phi_gapalign.h>
#include <blast_setup.hpp>
#include "ensure_enough_corelib.hpp"
+ Include dependency graph for phiblast_unit_test.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CPhiblastTestFixture
 

Functions

 USING_SCOPE (blast)
 
 BOOST_AUTO_TEST_CASE (testPHILookupTableLong)
 Tests the values in the PHI BLAST lookup table. More...
 
 BOOST_AUTO_TEST_CASE (testPHILookupTableShort)
 Tests the values in the PHI BLAST lookup table. More...
 
 BOOST_AUTO_TEST_CASE (testFindQueryOccurrencesLong)
 Tests the finding of pattern occurrences in query. More...
 
 BOOST_AUTO_TEST_CASE (testFindQueryOccurrencesShort)
 Tests the finding of pattern occurrences in query. More...
 
 BOOST_AUTO_TEST_CASE (testPHICalcEvalues)
 Tests PHI BLAST calculation of e-values. More...
 
 BOOST_AUTO_TEST_CASE (testPHIScanSubject)
 Tests finding of pattern occurrences in subject. More...
 
 BOOST_AUTO_TEST_CASE (testPHIGappedAlignmentWithTraceback)
 
 BOOST_AUTO_TEST_CASE (testPHIBlastHSPResultsSplit)
 
 BOOST_AUTO_TEST_CASE (testPHIBlastHSPResultsSplitNoHits)
 
 BOOST_AUTO_TEST_CASE (testPHIBlastHitSavingParameters)
 

Variables

 USING_NCBI_SCOPE
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/10]

BOOST_AUTO_TEST_CASE ( testFindQueryOccurrencesLong  )

Tests the finding of pattern occurrences in query.

Definition at line 265 of file phiblast_unit_test.cpp.

References NULL, SPHIQueryInfo::num_patterns, and SPHIQueryInfo::probability.

◆ BOOST_AUTO_TEST_CASE() [2/10]

BOOST_AUTO_TEST_CASE ( testFindQueryOccurrencesShort  )

Tests the finding of pattern occurrences in query.

Definition at line 278 of file phiblast_unit_test.cpp.

References NULL, SPHIQueryInfo::num_patterns, and SPHIQueryInfo::probability.

◆ BOOST_AUTO_TEST_CASE() [3/10]

BOOST_AUTO_TEST_CASE ( testPHIBlastHitSavingParameters  )

◆ BOOST_AUTO_TEST_CASE() [4/10]

BOOST_AUTO_TEST_CASE ( testPHIBlastHSPResultsSplit  )

◆ BOOST_AUTO_TEST_CASE() [5/10]

BOOST_AUTO_TEST_CASE ( testPHIBlastHSPResultsSplitNoHits  )

◆ BOOST_AUTO_TEST_CASE() [6/10]

BOOST_AUTO_TEST_CASE ( testPHICalcEvalues  )

◆ BOOST_AUTO_TEST_CASE() [7/10]

BOOST_AUTO_TEST_CASE ( testPHIGappedAlignmentWithTraceback  )

◆ BOOST_AUTO_TEST_CASE() [8/10]

BOOST_AUTO_TEST_CASE ( testPHILookupTableLong  )

◆ BOOST_AUTO_TEST_CASE() [9/10]

BOOST_AUTO_TEST_CASE ( testPHILookupTableShort  )

◆ BOOST_AUTO_TEST_CASE() [10/10]

BOOST_AUTO_TEST_CASE ( testPHIScanSubject  )

Tests finding of pattern occurrences in subject.

Definition at line 314 of file phiblast_unit_test.cpp.

References calloc(), GetOffsetArraySize(), NULL, PHIBlastScanSubject(), BlastOffsetPair::s_end, BlastOffsetPair::s_start, and sfree.

◆ USING_SCOPE()

USING_SCOPE ( blast  )

Variable Documentation

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 47 of file phiblast_unit_test.cpp.

Modified on Tue Apr 23 07:39:51 2024 by modify_doxy.py rev. 669887