tesseract 5.2.0
Loading...
Searching...
No Matches
tesseract::NthItemTest Class Reference
Inheritance diagram for tesseract::NthItemTest:

Public Member Functions

 ~NthItemTest () override
 
void PushTestData (KDVector *v)
 

Protected Member Functions

void SetUp () override
 

Detailed Description

Definition at line 21 of file nthitem_test.cc.

Constructor & Destructor Documentation

◆ ~NthItemTest()

tesseract::NthItemTest::~NthItemTest ( )
overridedefault

Member Function Documentation

◆ PushTestData()

void tesseract::NthItemTest::PushTestData ( KDVector v)
inline

Definition at line 30 of file nthitem_test.cc.

30 {
31 for (size_t i = 0; i < countof(test_data); ++i) {
32 IntKDPair pair(test_data[i], i);
33 v->push_back(pair);
34 }
35 }
KDPairInc< int, int > IntKDPair
Definition: kdpair.h:191
constexpr size_t countof(T const (&)[N]) noexcept
Definition: serialis.h:34
int test_data[]
Definition: heap_test.cc:23

◆ SetUp()

void tesseract::NthItemTest::SetUp ( )
inlineoverrideprotected

Definition at line 23 of file nthitem_test.cc.

23 {
24 std::locale::global(std::locale(""));
25 }

The documentation for this class was generated from the following file: