vector<SSeqRange> ranges;
107BOOST_REQUIRE(idx == 0);
110BOOST_REQUIRE(idx == 0);
113BOOST_REQUIRE(idx == 1);
116BOOST_REQUIRE(idx == 2);
119BOOST_REQUIRE(idx == 2);
124vector<SSeqRange> ranges;
136BOOST_REQUIRE(starting_idx == 0);
140BOOST_REQUIRE(ending_idx == 2);
142 for(
Int4 i= starting_idx;
i<= ending_idx;
i++) {
157BOOST_REQUIRE(
t< 15);
166BOOST_REQUIRE(
t< 10);
Definitions used throughout BLAST.
Int4 SSeqRangeArrayLessThanOrEqual(const SSeqRange *ranges, Int4 num_ranges, Int4 target)
Returns the index of the range, such that this element is the first range that either contains the ta...
SSeqRange SSeqRangeNew(Int4 start, Int4 stop)
Create a new SSeqRange structure with both fields initialized.
static NCBI_INLINE Boolean SSeqRangeIntersectsWith(const SSeqRange *a, const SSeqRange *b)
Determine if two ranges intersect.
BOOST_AUTO_TEST_CASE(SSeqRangeIntersect)
BOOST_AUTO_TEST_SUITE_END() static int s_GetSegmentFlags(const CBioseq &bioseq)
void AddParam(EUsageParams p, int val)
Ensure direct dependencies on enough of the core xncbi library to satisfy shared libraries that depen...
int32_t Int4
4-byte (32-bit) signed integer
static void SetURL(const string &url)
Change CGI URL for reporting usage statistics.
double Restart(void)
Return time elapsed since first Start() or last Restart() call (in seconds).
double Elapsed(void) const
Return time elapsed since first Start() or last Restart() call (in seconds).
@ eStart
Start timer immediately after creating.
#define FALSE
bool replacment for C indicating false.
The NCBI C++/STL use hints.
BOOST_AUTO_TEST_SUITE(psiblast_iteration)
A structure containing two integers, used e.g.
Int4 left
left endpoint of range (zero based)
Int4 right
right endpoint of range (zero based)
Utility stuff for more convenient using of Boost.Test library.
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