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

Public Member Functions

void ExpectContiguous (const std::vector< int > &v, int start, int end)
 

Protected Member Functions

void SetUp () override
 

Detailed Description

Definition at line 25 of file intfeaturemap_test.cc.

Member Function Documentation

◆ ExpectContiguous()

void tesseract::IntFeatureMapTest::ExpectContiguous ( const std::vector< int > &  v,
int  start,
int  end 
)
inline

Definition at line 34 of file intfeaturemap_test.cc.

34 {
35 for (int i = start; i < end; ++i) {
36 EXPECT_EQ(i, v[i - start]);
37 }
38 }

◆ SetUp()

void tesseract::IntFeatureMapTest::SetUp ( )
inlineoverrideprotected

Definition at line 27 of file intfeaturemap_test.cc.

27 {
28 std::locale::global(std::locale(""));
29 }

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