• Home
  • Raw
  • Download

Lines Matching refs:IsValid

126     EXPECT_FALSE(translator.IsValid(lc));  in TestTranslation()
129 EXPECT_TRUE(translator.IsValid(lc)); in TestTranslation()
190 EXPECT_TRUE(translator.IsValid(0, ztf::DeltaLineCol{0, 0})); in TEST()
191 EXPECT_TRUE(translator.IsValid(0, ztf::DeltaLineCol{0, 1})); in TEST()
192 EXPECT_TRUE(translator.IsValid(0, ztf::DeltaLineCol{1, 0})); in TEST()
193 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{-1, -1})); in TEST()
194 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{-1, 0})); in TEST()
195 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{0, -1})); in TEST()
196 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{0, -1})); in TEST()
197 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{0, kMaxVal})); in TEST()
198 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{kMaxVal, 0})); in TEST()
199 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{0, kMinVal})); in TEST()
200 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{kMinVal, 0})); in TEST()
201 EXPECT_FALSE(translator.IsValid(233, ztf::DeltaLineCol{0, kMaxVal})); in TEST()
202 EXPECT_FALSE(translator.IsValid(233, ztf::DeltaLineCol{kMaxVal, 0})); in TEST()
203 EXPECT_FALSE(translator.IsValid(233, ztf::DeltaLineCol{kMaxVal, kMaxVal})); in TEST()
206 EXPECT_TRUE(translator.IsValid(0, ztf::DeltaLineCol{0, 9})); in TEST()
207 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{0, 10})); in TEST()
208 EXPECT_FALSE(translator.IsValid(9, ztf::DeltaLineCol{0, 1})); in TEST()
209 EXPECT_FALSE(translator.IsValid(9, ztf::DeltaLineCol{-1, 0})); in TEST()
210 EXPECT_FALSE(translator.IsValid(9, ztf::DeltaLineCol{1, -10})); in TEST()
211 EXPECT_TRUE(translator.IsValid(9, ztf::DeltaLineCol{1, -9})); in TEST()
214 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{7, 78})); in TEST()
215 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{7, 77})); in TEST()
216 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{6, 78})); in TEST()
217 EXPECT_TRUE(translator.IsValid(0, ztf::DeltaLineCol{6, 77})); in TEST()
218 EXPECT_FALSE(translator.IsValid(text.size() - 1, ztf::DeltaLineCol{0, 1})); in TEST()
219 EXPECT_FALSE(translator.IsValid(text.size() - 1, ztf::DeltaLineCol{1, 0})); in TEST()
220 EXPECT_TRUE(translator.IsValid(text.size() - 2, ztf::DeltaLineCol{0, 1})); in TEST()
221 EXPECT_FALSE(translator.IsValid(text.size() - 2, ztf::DeltaLineCol{1, 0})); in TEST()