Lines Matching refs:getDenominator
18 *os << P.getNumerator() << "/" << P.getDenominator(); in PrintTo()
26 EXPECT_EQ(1u << 31, BP(1, 7).getDenominator()); in TEST()
28 EXPECT_EQ(1u << 31, BP::getZero().getDenominator()); in TEST()
30 EXPECT_EQ(1u << 31, BP::getOne().getDenominator()); in TEST()
164 auto MAX_DENOMINATOR = BP::getDenominator(); in TEST()
295 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[0].getNumerator()); in TEST()
296 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[1].getNumerator()); in TEST()
302 EXPECT_EQ(BranchProbability::getDenominator(), Probs[1].getNumerator()); in TEST()
307 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[0].getNumerator()); in TEST()
308 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[1].getNumerator()); in TEST()
313 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[0].getNumerator()); in TEST()
314 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[1].getNumerator()); in TEST()
319 EXPECT_EQ(BranchProbability::getDenominator() / 3 + 1, in TEST()
321 EXPECT_EQ(BranchProbability::getDenominator() / 3 + 1, in TEST()
323 EXPECT_EQ(BranchProbability::getDenominator() / 3 + 1, in TEST()
330 EXPECT_EQ(BranchProbability::getDenominator(), Probs[1].getNumerator()); in TEST()
335 EXPECT_EQ(BranchProbability::getDenominator(), Probs[0].getNumerator()); in TEST()
341 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[0].getNumerator()); in TEST()
342 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[1].getNumerator()); in TEST()
348 EXPECT_EQ(BranchProbability::getDenominator() / 3 + 1, in TEST()
350 EXPECT_EQ(BranchProbability::getDenominator() / 3 + 1, in TEST()
352 EXPECT_EQ(BranchProbability::getDenominator() / 3 + 1, in TEST()