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

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
void MakeSimpleTabVector (int x1, int y1, int x2, int y2)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Protected Attributes

std::unique_ptr< TabVectorvector_
 

Additional Inherited Members

- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
- 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 20 of file tabvector_test.cc.

Member Function Documentation

◆ MakeSimpleTabVector()

void tesseract::TabVectorTest::MakeSimpleTabVector ( int  x1,
int  y1,
int  x2,
int  y2 
)
inlineprotected

Definition at line 29 of file tabvector_test.cc.

29 {
30 vector_ = std::make_unique<TabVector>();
31 vector_->set_startpt(ICOORD(x1, y1));
32 vector_->set_endpt(ICOORD(x2, y2));
33 }
std::unique_ptr< TabVector > vector_

◆ SetUp()

void tesseract::TabVectorTest::SetUp ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

Definition at line 22 of file tabvector_test.cc.

22 {
23 std::locale::global(std::locale(""));
24 vector_.reset();
25 }

◆ TearDown()

void tesseract::TabVectorTest::TearDown ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

Definition at line 27 of file tabvector_test.cc.

27{}

Member Data Documentation

◆ vector_

std::unique_ptr<TabVector> tesseract::TabVectorTest::vector_
protected

Definition at line 35 of file tabvector_test.cc.


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