NCBI C++ ToolKit
Macros | Functions | Variables
unit_test_seq_loc_over.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbi_system.hpp>
#include <corelib/test_boost.hpp>
#include <objects/seqloc/seqloc__.hpp>
#include <objects/general/general__.hpp>
#include <objects/seqfeat/Feat_id.hpp>
#include <objmgr/object_manager.hpp>
#include <objmgr/util/seq_loc_util.hpp>
#include <objmgr/util/sequence.hpp>
#include <objmgr/seq_vector.hpp>
#include <objects/misc/sequence_macros.hpp>
+ Include dependency graph for unit_test_seq_loc_over.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 (objects)
 
 USING_SCOPE (sequence)
 
CScopeGetScope ()
 
CRef< CSeq_locMakeBond (TGi giA, TSeqPos posA, TGi giB=ZERO_GI, TSeqPos posB=0)
 
CRef< CSeq_locMakeInterval (TGi gi, TSeqPos from, TSeqPos to, ENa_strand strand=eNa_strand_unknown)
 
CRef< CSeq_locMakeInterval (CRef< CSeq_id > id, TSeqPos from, TSeqPos to, ENa_strand strand=eNa_strand_unknown)
 
CRef< CSeq_locMakePoint (TGi gi, TSeqPos pos)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap1)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap2)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap3)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap4)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap5)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap6)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap7)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap8)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap9)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap10)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap11)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap12)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap13)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap14)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap15)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap16)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap17)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multiseq1)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multiseq2)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multiseq3)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multiseq4)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multiseq5)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multiseq6)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multiseq7)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multiseq8)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multiseq9)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand1)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand2)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand3)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand4)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand5)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand6)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand7)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand8)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand9)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand10)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand11)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand12)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand13)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap_Multistrand14)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular1)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular2)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular3)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular4)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular5)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular6)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular7)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular8)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular9)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular10)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular11)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular12)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular13)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular14)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular15)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular16)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular17)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlap64_Circular18)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular1)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular2)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular3)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular4)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular5)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular6)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular7)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular8)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular9)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular10)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular11)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular12)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular13)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular14)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular15)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular16)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular17)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular18)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular19)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular20)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular21)
 
 BOOST_AUTO_TEST_CASE (Test_TestForOverlapEx_Circular22)
 

Variables

 USING_NCBI_SCOPE
 
const char * sc_TestEntry
 

Macro Definition Documentation

◆ NCBI_TEST_APPLICATION

#define NCBI_TEST_APPLICATION

Definition at line 33 of file unit_test_seq_loc_over.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap1  )

◆ BOOST_AUTO_TEST_CASE() [2/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap10  )

◆ BOOST_AUTO_TEST_CASE() [3/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap11  )

◆ BOOST_AUTO_TEST_CASE() [4/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap12  )

◆ BOOST_AUTO_TEST_CASE() [5/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap13  )

◆ BOOST_AUTO_TEST_CASE() [6/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap14  )

◆ BOOST_AUTO_TEST_CASE() [7/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap15  )

◆ BOOST_AUTO_TEST_CASE() [8/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap16  )

◆ BOOST_AUTO_TEST_CASE() [9/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap17  )

◆ BOOST_AUTO_TEST_CASE() [10/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap2  )

◆ BOOST_AUTO_TEST_CASE() [11/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap3  )

◆ BOOST_AUTO_TEST_CASE() [12/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap4  )

◆ BOOST_AUTO_TEST_CASE() [13/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap5  )

◆ BOOST_AUTO_TEST_CASE() [14/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap6  )

◆ BOOST_AUTO_TEST_CASE() [15/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular1  )

◆ BOOST_AUTO_TEST_CASE() [16/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular10  )

◆ BOOST_AUTO_TEST_CASE() [17/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular11  )

◆ BOOST_AUTO_TEST_CASE() [18/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular12  )

◆ BOOST_AUTO_TEST_CASE() [19/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular13  )

◆ BOOST_AUTO_TEST_CASE() [20/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular14  )

◆ BOOST_AUTO_TEST_CASE() [21/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular15  )

◆ BOOST_AUTO_TEST_CASE() [22/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular16  )

◆ BOOST_AUTO_TEST_CASE() [23/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular17  )

◆ BOOST_AUTO_TEST_CASE() [24/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular18  )

◆ BOOST_AUTO_TEST_CASE() [25/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular2  )

◆ BOOST_AUTO_TEST_CASE() [26/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular3  )

◆ BOOST_AUTO_TEST_CASE() [27/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular4  )

◆ BOOST_AUTO_TEST_CASE() [28/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular5  )

◆ BOOST_AUTO_TEST_CASE() [29/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular6  )

◆ BOOST_AUTO_TEST_CASE() [30/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular7  )

◆ BOOST_AUTO_TEST_CASE() [31/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular8  )

◆ BOOST_AUTO_TEST_CASE() [32/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap64_Circular9  )

◆ BOOST_AUTO_TEST_CASE() [33/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap7  )

◆ BOOST_AUTO_TEST_CASE() [34/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap8  )

◆ BOOST_AUTO_TEST_CASE() [35/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap9  )

◆ BOOST_AUTO_TEST_CASE() [36/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multiseq1  )

◆ BOOST_AUTO_TEST_CASE() [37/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multiseq2  )

◆ BOOST_AUTO_TEST_CASE() [38/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multiseq3  )

◆ BOOST_AUTO_TEST_CASE() [39/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multiseq4  )

◆ BOOST_AUTO_TEST_CASE() [40/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multiseq5  )

◆ BOOST_AUTO_TEST_CASE() [41/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multiseq6  )

◆ BOOST_AUTO_TEST_CASE() [42/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multiseq7  )

◆ BOOST_AUTO_TEST_CASE() [43/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multiseq8  )

◆ BOOST_AUTO_TEST_CASE() [44/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multiseq9  )

◆ BOOST_AUTO_TEST_CASE() [45/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand1  )

◆ BOOST_AUTO_TEST_CASE() [46/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand10  )

◆ BOOST_AUTO_TEST_CASE() [47/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand11  )

◆ BOOST_AUTO_TEST_CASE() [48/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand12  )

◆ BOOST_AUTO_TEST_CASE() [49/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand13  )

◆ BOOST_AUTO_TEST_CASE() [50/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand14  )

◆ BOOST_AUTO_TEST_CASE() [51/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand2  )

◆ BOOST_AUTO_TEST_CASE() [52/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand3  )

◆ BOOST_AUTO_TEST_CASE() [53/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand4  )

◆ BOOST_AUTO_TEST_CASE() [54/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand5  )

◆ BOOST_AUTO_TEST_CASE() [55/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand6  )

◆ BOOST_AUTO_TEST_CASE() [56/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand7  )

◆ BOOST_AUTO_TEST_CASE() [57/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand8  )

◆ BOOST_AUTO_TEST_CASE() [58/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlap_Multistrand9  )

◆ BOOST_AUTO_TEST_CASE() [59/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular1  )

◆ BOOST_AUTO_TEST_CASE() [60/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular10  )

◆ BOOST_AUTO_TEST_CASE() [61/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular11  )

◆ BOOST_AUTO_TEST_CASE() [62/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular12  )

◆ BOOST_AUTO_TEST_CASE() [63/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular13  )

◆ BOOST_AUTO_TEST_CASE() [64/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular14  )

◆ BOOST_AUTO_TEST_CASE() [65/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular15  )

◆ BOOST_AUTO_TEST_CASE() [66/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular16  )

◆ BOOST_AUTO_TEST_CASE() [67/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular17  )

◆ BOOST_AUTO_TEST_CASE() [68/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular18  )

◆ BOOST_AUTO_TEST_CASE() [69/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular19  )

◆ BOOST_AUTO_TEST_CASE() [70/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular2  )

◆ BOOST_AUTO_TEST_CASE() [71/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular20  )

◆ BOOST_AUTO_TEST_CASE() [72/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular21  )

◆ BOOST_AUTO_TEST_CASE() [73/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular22  )

◆ BOOST_AUTO_TEST_CASE() [74/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular3  )

◆ BOOST_AUTO_TEST_CASE() [75/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular4  )

◆ BOOST_AUTO_TEST_CASE() [76/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular5  )

◆ BOOST_AUTO_TEST_CASE() [77/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular6  )

◆ BOOST_AUTO_TEST_CASE() [78/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular7  )

◆ BOOST_AUTO_TEST_CASE() [79/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular8  )

◆ BOOST_AUTO_TEST_CASE() [80/80]

BOOST_AUTO_TEST_CASE ( Test_TestForOverlapEx_Circular9  )

◆ GetScope()

CScope& GetScope ( void  )

◆ MakeBond()

CRef<CSeq_loc> MakeBond ( TGi  giA,
TSeqPos  posA,
TGi  giB = ZERO_GI,
TSeqPos  posB = 0 
)

Definition at line 84 of file unit_test_seq_loc_over.cpp.

References CSeq_loc::SetBond().

◆ MakeInterval() [1/2]

CRef<CSeq_loc> MakeInterval ( CRef< CSeq_id id,
TSeqPos  from,
TSeqPos  to,
ENa_strand  strand = eNa_strand_unknown 
)

Definition at line 113 of file unit_test_seq_loc_over.cpp.

References eNa_strand_unknown, and CSeq_loc::SetInt().

◆ MakeInterval() [2/2]

CRef<CSeq_loc> MakeInterval ( TGi  gi,
TSeqPos  from,
TSeqPos  to,
ENa_strand  strand = eNa_strand_unknown 
)

Definition at line 97 of file unit_test_seq_loc_over.cpp.

References eNa_strand_unknown, and CSeq_loc::SetInt().

Referenced by BOOST_AUTO_TEST_CASE().

◆ MakePoint()

CRef<CSeq_loc> MakePoint ( TGi  gi,
TSeqPos  pos 
)

Definition at line 129 of file unit_test_seq_loc_over.cpp.

References CSeq_loc::SetPnt().

◆ USING_SCOPE() [1/2]

USING_SCOPE ( objects  )

◆ USING_SCOPE() [2/2]

USING_SCOPE ( sequence  )

Variable Documentation

◆ sc_TestEntry

const char* sc_TestEntry

Definition at line 3176 of file unit_test_seq_loc_over.cpp.

Referenced by GetScope().

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 63 of file unit_test_seq_loc_over.cpp.

Modified on Fri Sep 20 14:58:19 2024 by modify_doxy.py rev. 669887