MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / Bool

Function Bool

rtpose_wrapper/src/gtest/gtest.h:16400–16402  ·  view source on GitHub ↗

Bool() allows generating tests with parameters in a set of (false, true). Synopsis: Bool() - returns a generator producing sequences with elements {false, true}. It is useful when testing code that depends on Boolean flags. Combinations of multiple flags can be tested when several Bool()'s are combined using Combine() function. In the following example all tests in the test case FlagDependentTe

Source from the content-addressed store, hash-verified

16398// INSTANTIATE_TEST_CASE_P(BoolSequence, FlagDependentTest, Bool());
16399//
16400inline internal::ParamGenerator<bool> Bool() {
16401 return Values(false, true);
16402}
16403
16404# if GTEST_HAS_COMBINE
16405// Combine() allows the user to combine two or more sequences to produce

Callers

nothing calls this directly

Calls 1

ValuesFunction · 0.85

Tested by

no test coverage detected