NCBI C++ ToolKit
Macros | Functions | Variables
unit_test_bioseqgaps_ci.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbi_system.hpp>
#include <corelib/test_boost.hpp>
#include <objmgr/util/sequence.hpp>
#include <objects/seq/Seq_data.hpp>
#include <objmgr/object_manager.hpp>
#include <objmgr/seq_entry_handle.hpp>
#include <objmgr/seq_vector.hpp>
#include <corelib/ncbicntr.hpp>
#include <objects/seq/Seq_ext.hpp>
+ Include dependency graph for unit_test_bioseqgaps_ci.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define PASTE2(x, y)   x ## y
 
#define PASTE(x, y)   PASTE2(x, y)
 
#define ITERATE_RAW_ARRAY(Type, Var, ...)
 
#define ONE_BIOSEQ_TEST(_seq, ...)
 
#define ONE_BIOSEQ_TEST_EXPECT_NO_GAPS(_seq)    s_TestOneBioseq(_seq, TGapInfoVec() );
 

Functions

 USING_SCOPE (objects)
 
 USING_SCOPE (sequence)
 
 USING_SCOPE (std)
 
 BOOST_AUTO_TEST_CASE (CBioseqGaps_CI_OneBioseqTests)
 
 BOOST_AUTO_TEST_CASE (MultiBioseqTests)
 
 BOOST_AUTO_TEST_CASE (ProteinTests)
 

Variables

 USING_NCBI_SCOPE
 

Macro Definition Documentation

◆ ITERATE_RAW_ARRAY

#define ITERATE_RAW_ARRAY (   Type,
  Var,
  ... 
)
Value:
const Type PASTE(raw_data_299197741, __LINE__)[] = __VA_ARGS__; \
for(const Type *Var = & PASTE(raw_data_299197741, __LINE__)[0]; \
Var < PASTE(raw_data_299197741, __LINE__) + \
ArraySize(PASTE(raw_data_299197741, __LINE__)); \
++Var) \
#define Type
#define PASTE(x, y)

Definition at line 243 of file unit_test_bioseqgaps_ci.cpp.

◆ ONE_BIOSEQ_TEST

#define ONE_BIOSEQ_TEST (   _seq,
  ... 
)
Value:
do { \
SGapInfo raw_expected_gaps[] = __VA_ARGS__; \
TGapInfoVec expected_gaps; \
copy( &raw_expected_gaps[0], \
&raw_expected_gaps[ArraySize(raw_expected_gaps)], \
back_inserter(expected_gaps) ); \
s_TestOneBioseq(_seq, expected_gaps); \
} while(false)
constexpr size_t ArraySize(const Element(&)[Size])
Definition: ncbimisc.hpp:1532

Definition at line 250 of file unit_test_bioseqgaps_ci.cpp.

◆ ONE_BIOSEQ_TEST_EXPECT_NO_GAPS

#define ONE_BIOSEQ_TEST_EXPECT_NO_GAPS (   _seq)     s_TestOneBioseq(_seq, TGapInfoVec() );

Definition at line 260 of file unit_test_bioseqgaps_ci.cpp.

◆ PASTE

#define PASTE (   x,
 
)    PASTE2(x, y)

Definition at line 238 of file unit_test_bioseqgaps_ci.cpp.

◆ PASTE2

#define PASTE2 (   x,
 
)    x ## y

Definition at line 237 of file unit_test_bioseqgaps_ci.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( CBioseqGaps_CI_OneBioseqTests  )

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( MultiBioseqTests  )

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( ProteinTests  )

◆ USING_SCOPE() [1/3]

USING_SCOPE ( objects  )

◆ USING_SCOPE() [2/3]

USING_SCOPE ( sequence  )

◆ USING_SCOPE() [3/3]

USING_SCOPE ( std  )

Variable Documentation

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 61 of file unit_test_bioseqgaps_ci.cpp.

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