Lines Matching refs:Range
60 using ::testing::Range;
190 const ParamGenerator<int> gen = Range(0, 10);
223 // Tests that Range() generates the expected sequence.
225 const ParamGenerator<int> gen = Range(0, 3);
230 // Edge case. Tests that Range() generates the single element sequence
231 // as expected when provided with range limits that are equal.
233 const ParamGenerator<int> gen = Range(0, 1);
238 // Edge case. Tests that Range() with generates empty sequence when
239 // supplied with an empty range.
241 const ParamGenerator<int> gen = Range(0, 0);
245 // Tests that Range() with custom step (greater then one) generates
248 const ParamGenerator<int> gen = Range(0, 9, 3);
253 // Tests that Range() with custom step (greater then one) generates
255 // upper range limit. Sequences generated by Range() must not have
256 // elements beyond the range limits.
258 const ParamGenerator<int> gen = Range(0, 4, 3);
263 // Verifies that Range works with user-defined types that define
291 Range(DogAdder("cat"), DogAdder("catdogdog"), DogAdder("dog"));
324 const ParamGenerator<IntWrapper> gen = Range(IntWrapper(0), IntWrapper(2));
387 // Edge case. Tests that ValuesIn() provided with an iterator range specifying a
399 // Edge case. Tests that ValuesIn() provided with an empty iterator range
513 const ParamGenerator<tuple<int, int> > gen = Combine(Range(0, 0),
522 Range(1, 1));
750 INSTANTIATE_TEST_CASE_P(Sequence2, MultipleInstantiationTest, Range(3, 5));
788 INSTANTIATE_TEST_CASE_P(FourElemSequence, SeparateInstanceTest, Range(1, 4));
810 INSTANTIATE_TEST_CASE_P(ZeroToFiveSequence, NamingTest, Range(0, 5));
868 INSTANTIATE_TEST_CASE_P(RangeZeroToFive, ParameterizedDerivedTest, Range(0, 5));