Searched refs:maybeSample (Results 1 – 3 of 3) sorted by relevance
23 Optional<SmallVector<int64_t, 8>> maybeSample = fac.findIntegerSample(); in checkSample() local25 EXPECT_FALSE(maybeSample.hasValue()); in checkSample()26 if (maybeSample.hasValue()) { in checkSample()27 for (auto x : *maybeSample) in checkSample()32 ASSERT_TRUE(maybeSample.hasValue()); in checkSample()33 EXPECT_TRUE(fac.containsPoint(*maybeSample)); in checkSample()
185 auto maybeSample = simplexFromConstraints(2, in TEST() local195 EXPECT_TRUE(maybeSample.hasValue()); in TEST()196 EXPECT_THAT(*maybeSample, testing::ElementsAre(0, 2)); in TEST()
1029 if (auto maybeSample = getSamplePointIfIntegral()) in findIntegerSample() local1030 return maybeSample; in findIntegerSample()1050 if (auto maybeSample = getSamplePointIfIntegral()) in findIntegerSample() local1051 return *maybeSample; in findIntegerSample()