tesseract  5.0.0-alpha-619-ge9db
tesseract::NthItemTest Class Reference
Inheritance diagram for tesseract::NthItemTest:

Public Member Functions

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

Protected Member Functions

void SetUp () override
 

Detailed Description

Definition at line 22 of file nthitem_test.cc.

Constructor & Destructor Documentation

◆ ~NthItemTest()

tesseract::NthItemTest::~NthItemTest ( )
virtualdefault

Member Function Documentation

◆ PushTestData()

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

Definition at line 31 of file nthitem_test.cc.

31  {
32  for (size_t i = 0; i < ARRAYSIZE(test_data); ++i) {
33  IntKDPair pair(test_data[i], i);
34  v->push_back(pair);
35  }
36  }

◆ SetUp()

void tesseract::NthItemTest::SetUp ( )
inlineoverrideprotected

Definition at line 24 of file nthitem_test.cc.

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

The documentation for this class was generated from the following file:
tesseract::test_data
int test_data[]
Definition: heap_test.cc:24
ARRAYSIZE
#define ARRAYSIZE(arr)
Definition: include_gunit.h:53
tesseract::IntKDPair
KDPairInc< int, int > IntKDPair
Definition: kdpair.h:179