tesseract v5.3.3.20231005
tesseract::IntFeatureMapTest Class Reference
Inheritance diagram for tesseract::IntFeatureMapTest:
testing::Test

Public Member Functions

void ExpectContiguous (const std::vector< int > &v, int start, int end)
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 

Protected Member Functions

void SetUp () override
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Additional Inherited Members

- Static Public Member Functions inherited from testing::Test
static void SetUpTestSuite ()
 
static void TearDownTestSuite ()
 
static void TearDownTestCase ()
 
static void SetUpTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool IsSkipped ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 

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 }
#define EXPECT_EQ(val1, val2)
Definition: gtest.h:2043

◆ SetUp()

void tesseract::IntFeatureMapTest::SetUp ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

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: