NCBI C++ ToolKit
Functions | Variables
seq_dict_unit_test.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/test_boost.hpp>
#include <corelib/ncbifile.hpp>
#include <gui/utils/seq_dict.hpp>
#include <random>
+ Include dependency graph for seq_dict_unit_test.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

string gen_random (std::mt19937 &gen, std::uniform_int_distribution<> &alphabet_distrib, const int len)
 
 BOOST_AUTO_TEST_CASE (Test0)
 
 BOOST_AUTO_TEST_CASE (StressTest)
 
 BOOST_AUTO_TEST_CASE (TestEmpty)
 
 BOOST_AUTO_TEST_SUITE_END ()
 Auxiliary class to convert a string into an argument count and vector. More...
 

Variables

static const string ALPHABET_DNA = "ACGTN"
 
static const string ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXZY"
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( StressTest  )

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( Test0  )

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( TestEmpty  )

Definition at line 141 of file seq_dict_unit_test.cpp.

References CSeqDictionary< Alphabet >::GetSequence().

◆ BOOST_AUTO_TEST_SUITE_END()

BOOST_AUTO_TEST_SUITE_END ( )

Auxiliary class to convert a string into an argument count and vector.

Definition at line 3204 of file blastinput_unit_test.cpp.

◆ gen_random()

string gen_random ( std::mt19937 &  gen,
std::uniform_int_distribution<> &  alphabet_distrib,
const int  len 
)

Definition at line 42 of file seq_dict_unit_test.cpp.

References ALPHABET, gen, i, and len.

Referenced by BOOST_AUTO_TEST_CASE().

Variable Documentation

◆ ALPHABET

const string ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXZY"
static

Definition at line 40 of file seq_dict_unit_test.cpp.

Referenced by BOOST_AUTO_TEST_CASE(), and gen_random().

◆ ALPHABET_DNA

const string ALPHABET_DNA = "ACGTN"
static

Definition at line 39 of file seq_dict_unit_test.cpp.

Modified on Mon Jul 22 05:06:18 2024 by modify_doxy.py rev. 669887