mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
PrintTo functions for google test and valgrind
This commit is contained in:
@@ -103,3 +103,9 @@ TEST_P(NFAPureRepeatTest, Check) {
|
||||
ASSERT_EQ(t.minBound, repeat.bounds.min);
|
||||
ASSERT_EQ(t.maxBound, repeat.bounds.max);
|
||||
}
|
||||
|
||||
// for google test
|
||||
void PrintTo(const PureRepeatTest &p, ::std::ostream *os) {
|
||||
*os << "PureRepeatTest: " << p.pattern
|
||||
<< "{" << p.minBound << ',' << p.maxBound << '}';
|
||||
}
|
||||
|
Reference in New Issue
Block a user