• Home
  • Raw
  • Download

Lines Matching refs:table_

63   PrimeTableTest() : table_(CreatePrimeTable<T>()) {}  in PrimeTableTest()
65 virtual ~PrimeTableTest() { delete table_; } in ~PrimeTableTest()
74 PrimeTable* const table_; member in PrimeTableTest
108 EXPECT_FALSE(this->table_->IsPrime(-5)); in TYPED_TEST()
109 EXPECT_FALSE(this->table_->IsPrime(0)); in TYPED_TEST()
110 EXPECT_FALSE(this->table_->IsPrime(1)); in TYPED_TEST()
111 EXPECT_FALSE(this->table_->IsPrime(4)); in TYPED_TEST()
112 EXPECT_FALSE(this->table_->IsPrime(6)); in TYPED_TEST()
113 EXPECT_FALSE(this->table_->IsPrime(100)); in TYPED_TEST()
117 EXPECT_TRUE(this->table_->IsPrime(2)); in TYPED_TEST()
118 EXPECT_TRUE(this->table_->IsPrime(3)); in TYPED_TEST()
119 EXPECT_TRUE(this->table_->IsPrime(5)); in TYPED_TEST()
120 EXPECT_TRUE(this->table_->IsPrime(7)); in TYPED_TEST()
121 EXPECT_TRUE(this->table_->IsPrime(11)); in TYPED_TEST()
122 EXPECT_TRUE(this->table_->IsPrime(131)); in TYPED_TEST()
126 EXPECT_EQ(2, this->table_->GetNextPrime(0)); in TYPED_TEST()
127 EXPECT_EQ(3, this->table_->GetNextPrime(2)); in TYPED_TEST()
128 EXPECT_EQ(5, this->table_->GetNextPrime(3)); in TYPED_TEST()
129 EXPECT_EQ(7, this->table_->GetNextPrime(5)); in TYPED_TEST()
130 EXPECT_EQ(11, this->table_->GetNextPrime(7)); in TYPED_TEST()
131 EXPECT_EQ(131, this->table_->GetNextPrime(128)); in TYPED_TEST()
172 EXPECT_FALSE(this->table_->IsPrime(-5)); in TYPED_TEST_P()
173 EXPECT_FALSE(this->table_->IsPrime(0)); in TYPED_TEST_P()
174 EXPECT_FALSE(this->table_->IsPrime(1)); in TYPED_TEST_P()
175 EXPECT_FALSE(this->table_->IsPrime(4)); in TYPED_TEST_P()
176 EXPECT_FALSE(this->table_->IsPrime(6)); in TYPED_TEST_P()
177 EXPECT_FALSE(this->table_->IsPrime(100)); in TYPED_TEST_P()
181 EXPECT_TRUE(this->table_->IsPrime(2)); in TYPED_TEST_P()
182 EXPECT_TRUE(this->table_->IsPrime(3)); in TYPED_TEST_P()
183 EXPECT_TRUE(this->table_->IsPrime(5)); in TYPED_TEST_P()
184 EXPECT_TRUE(this->table_->IsPrime(7)); in TYPED_TEST_P()
185 EXPECT_TRUE(this->table_->IsPrime(11)); in TYPED_TEST_P()
186 EXPECT_TRUE(this->table_->IsPrime(131)); in TYPED_TEST_P()
190 EXPECT_EQ(2, this->table_->GetNextPrime(0)); in TYPED_TEST_P()
191 EXPECT_EQ(3, this->table_->GetNextPrime(2)); in TYPED_TEST_P()
192 EXPECT_EQ(5, this->table_->GetNextPrime(3)); in TYPED_TEST_P()
193 EXPECT_EQ(7, this->table_->GetNextPrime(5)); in TYPED_TEST_P()
194 EXPECT_EQ(11, this->table_->GetNextPrime(7)); in TYPED_TEST_P()
195 EXPECT_EQ(131, this->table_->GetNextPrime(128)); in TYPED_TEST_P()