Lines Matching refs:table_
98 table_ = new HybridPrimeTable(force_on_the_fly, max_precalculated); in SetUp()
101 delete table_; in TearDown()
102 table_ = nullptr; in TearDown()
104 HybridPrimeTable* table_; member in __anon5e63a84a0111::PrimeTableTest
114 EXPECT_FALSE(table_->IsPrime(-5)); in TEST_P()
115 EXPECT_FALSE(table_->IsPrime(0)); in TEST_P()
116 EXPECT_FALSE(table_->IsPrime(1)); in TEST_P()
117 EXPECT_FALSE(table_->IsPrime(4)); in TEST_P()
118 EXPECT_FALSE(table_->IsPrime(6)); in TEST_P()
119 EXPECT_FALSE(table_->IsPrime(100)); in TEST_P()
123 EXPECT_TRUE(table_->IsPrime(2)); in TEST_P()
124 EXPECT_TRUE(table_->IsPrime(3)); in TEST_P()
125 EXPECT_TRUE(table_->IsPrime(5)); in TEST_P()
126 EXPECT_TRUE(table_->IsPrime(7)); in TEST_P()
127 EXPECT_TRUE(table_->IsPrime(11)); in TEST_P()
128 EXPECT_TRUE(table_->IsPrime(131)); in TEST_P()
132 EXPECT_EQ(2, table_->GetNextPrime(0)); in TEST_P()
133 EXPECT_EQ(3, table_->GetNextPrime(2)); in TEST_P()
134 EXPECT_EQ(5, table_->GetNextPrime(3)); in TEST_P()
135 EXPECT_EQ(7, table_->GetNextPrime(5)); in TEST_P()
136 EXPECT_EQ(11, table_->GetNextPrime(7)); in TEST_P()
137 EXPECT_EQ(131, table_->GetNextPrime(128)); in TEST_P()