NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <corelib/test_boost.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <algo/blast/api/blast_exception.hpp>
#include <algo/blast/api/psiblast_iteration.hpp>
#include "ensure_enough_corelib.hpp"
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
BOOST_AUTO_TEST_SUITE (psiblast_iteration) | |
BOOST_AUTO_TEST_CASE (TestAsLoopCounter) | |
BOOST_AUTO_TEST_CASE (TestConvergence) | |
BOOST_AUTO_TEST_CASE (TestConvergence2) | |
BOOST_AUTO_TEST_CASE (TestModifyingConvergedIterationState) | |
void | RunNIterationsWithoutConverging (CPsiBlastIterationState &itr, TIntId n_iterations) |
BOOST_AUTO_TEST_CASE (TestModifyingExhaustedIterationState) | |
BOOST_AUTO_TEST_CASE | ( | TestAsLoopCounter | ) |
Definition at line 48 of file psiblast_iteration_unit_test.cpp.
References CPsiBlastIterationState::Advance(), CSeq_id_Handle::GetHandle(), CPsiBlastIterationState::GetIterationNumber(), GI_CONST, GI_FROM, CPsiBlastIterationState::HasConverged(), CPsiBlastIterationState::HasMoreIterations(), set< Key, Compare >::insert(), and ZERO_GI.
BOOST_AUTO_TEST_CASE | ( | TestConvergence | ) |
Definition at line 69 of file psiblast_iteration_unit_test.cpp.
References CPsiBlastIterationState::Advance(), CSeq_id_Handle::GetHandle(), CPsiBlastIterationState::GetIterationNumber(), GI_CONST, CPsiBlastIterationState::HasConverged(), CPsiBlastIterationState::HasMoreIterations(), and set< Key, Compare >::insert().
BOOST_AUTO_TEST_CASE | ( | TestConvergence2 | ) |
Definition at line 96 of file psiblast_iteration_unit_test.cpp.
References CPsiBlastIterationState::Advance(), CSeq_id_Handle::GetHandle(), CPsiBlastIterationState::GetIterationNumber(), GI_CONST, CPsiBlastIterationState::HasConverged(), CPsiBlastIterationState::HasMoreIterations(), and set< Key, Compare >::insert().
BOOST_AUTO_TEST_CASE | ( | TestModifyingConvergedIterationState | ) |
Definition at line 117 of file psiblast_iteration_unit_test.cpp.
References CPsiBlastIterationState::Advance(), CSeq_id_Handle::GetHandle(), GI_CONST, CPsiBlastIterationState::HasConverged(), and set< Key, Compare >::insert().
BOOST_AUTO_TEST_CASE | ( | TestModifyingExhaustedIterationState | ) |
Definition at line 146 of file psiblast_iteration_unit_test.cpp.
References CPsiBlastIterationState::GetIterationNumber(), CPsiBlastIterationState::HasConverged(), CPsiBlastIterationState::HasMoreIterations(), and RunNIterationsWithoutConverging().
BOOST_AUTO_TEST_SUITE | ( | psiblast_iteration | ) |
void RunNIterationsWithoutConverging | ( | CPsiBlastIterationState & | itr, |
TIntId | n_iterations | ||
) |
Definition at line 134 of file psiblast_iteration_unit_test.cpp.
References CPsiBlastIterationState::Advance(), CSeq_id_Handle::GetHandle(), GI_FROM, i, and set< Key, Compare >::insert().
Referenced by BOOST_AUTO_TEST_CASE().