Searched refs:vote_range (Results 1 – 1 of 1) sorted by relevance
55 VoteRange vote_range(true, tNow, 250ms); in TEST() local56 EXPECT_FALSE(vote_range.isTimeInRange(tNow - 1ns)); in TEST()57 EXPECT_TRUE(vote_range.isTimeInRange(tNow)); in TEST()58 EXPECT_TRUE(vote_range.isTimeInRange(tNow + 1ns)); in TEST()59 EXPECT_TRUE(vote_range.isTimeInRange(tNow + 250ms)); in TEST()60 EXPECT_FALSE(vote_range.isTimeInRange(tNow + 250ms + 1ns)); in TEST()65 VoteRange vote_range(true, tNow, 250ms); in TEST() local66 EXPECT_TRUE(vote_range.active()); in TEST()67 vote_range.setActive(false); in TEST()68 EXPECT_FALSE(vote_range.active()); in TEST()[all …]