Analysis Software
Documentation for sPHENIX simulation software
|
Enumerations | |
enum | EditType { kMatch, kAdd, kRemove, kReplace } |
Functions | |
GTEST_API_ std::vector< EditType > | CalculateOptimalEdits (const std::vector< size_t > &left, const std::vector< size_t > &right) |
GTEST_API_ std::vector< EditType > | CalculateOptimalEdits (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) |
Definition at line 180 of file gtest-internal.h.
View newest version in sPHENIX GitHub at line 180 of file gtest-internal.h
std::vector< EditType > testing::internal::edit_distance::CalculateOptimalEdits | ( | const std::vector< size_t > & | left, |
const std::vector< size_t > & | right | ||
) |
Definition at line 1028 of file gtest.cc.
View newest version in sPHENIX GitHub at line 1028 of file gtest.cc
References kAdd, kMatch, kRemove, kReplace, and testing::internal::move().
Referenced by CalculateOptimalEdits(), and CreateUnifiedDiff().
std::vector< EditType > testing::internal::edit_distance::CalculateOptimalEdits | ( | const std::vector< std::string > & | left, |
const std::vector< std::string > & | right | ||
) |
std::string testing::internal::edit_distance::CreateUnifiedDiff | ( | const std::vector< std::string > & | left, |
const std::vector< std::string > & | right, | ||
size_t | context = 2 |
||
) |
Definition at line 1203 of file gtest.cc.
View newest version in sPHENIX GitHub at line 1203 of file gtest.cc
References CalculateOptimalEdits(), i, it, kAdd, kMatch, kRemove, kReplace, and Acts::UnitConstants::min.
Referenced by testing::internal::EqFailure().