Lines Matching defs:score
49 // This one has a lot of redirects but a better score. It should still be
57 ThumbnailScore score;
58 // By default, the score is 1.0, meaning very boring, thus we should
60 EXPECT_DOUBLE_EQ(1.0, score.boring_score);
61 EXPECT_TRUE(score.ShouldConsiderUpdating());
64 score.boring_score = 0.0;
65 EXPECT_TRUE(score.ShouldConsiderUpdating());
68 score.good_clipping = true;
69 EXPECT_TRUE(score.ShouldConsiderUpdating());
72 score.at_top = true;
73 EXPECT_FALSE(score.ShouldConsiderUpdating());
76 score.time_at_snapshot -= ThumbnailScore::kUpdateThumbnailTime;
77 EXPECT_TRUE(score.ShouldConsiderUpdating());