Googletest export
Introduce GTEST_FLAG_GET and GTEST_FLAG_SET macros. PiperOrigin-RevId: 382808313
This commit is contained in:
@@ -6328,7 +6328,7 @@ TEST_P(BipartiteRandomTest, LargerNets) {
|
||||
int iters = GetParam().second;
|
||||
MatchMatrix graph(static_cast<size_t>(nodes), static_cast<size_t>(nodes));
|
||||
|
||||
auto seed = static_cast<uint32_t>(GTEST_FLAG(random_seed));
|
||||
auto seed = static_cast<uint32_t>(GTEST_FLAG_GET(random_seed));
|
||||
if (seed == 0) {
|
||||
seed = static_cast<uint32_t>(time(nullptr));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user