QUDA  v1.1.0
A library for QCD on GPUs
Enumerations | Functions
testing::internal::edit_distance Namespace Reference

Enumerations

enum  EditType { kMatch , kAdd , kRemove , kReplace }
 

Functions

GTEST_API_ std::vector< EditTypeCalculateOptimalEdits (const std::vector< size_t > &left, const std::vector< size_t > &right)
 
GTEST_API_ std::vector< EditTypeCalculateOptimalEdits (const std::vector< std::string > &left, const std::vector< std::string > &right)
 
GTEST_API_ std::string CreateUnifiedDiff (const std::vector< std::string > &left, const std::vector< std::string > &right, size_t context=2)
 

Enumeration Type Documentation

◆ EditType

Enumerator
kMatch 
kAdd 
kRemove 
kReplace 

Definition at line 156 of file gtest-internal.h.

Function Documentation

◆ CalculateOptimalEdits() [1/2]

GTEST_API_ std::vector<EditType> testing::internal::edit_distance::CalculateOptimalEdits ( const std::vector< size_t > &  left,
const std::vector< size_t > &  right 
)

◆ CalculateOptimalEdits() [2/2]

GTEST_API_ std::vector<EditType> testing::internal::edit_distance::CalculateOptimalEdits ( const std::vector< std::string > &  left,
const std::vector< std::string > &  right 
)

◆ CreateUnifiedDiff()

GTEST_API_ std::string testing::internal::edit_distance::CreateUnifiedDiff ( const std::vector< std::string > &  left,
const std::vector< std::string > &  right,
size_t  context = 2 
)