Lines Matching refs:getSessions
44 std::vector<int64_t> getSessions(int taskId, const SessionTaskMap &m) { in getSessions() function
80 EXPECT_EQ(std::vector<int64_t>({1}), getSessions(10, m)); in TEST()
81 EXPECT_EQ(std::vector<int64_t>({1}), getSessions(20, m)); in TEST()
82 EXPECT_EQ(std::vector<int64_t>({1}), getSessions(30, m)); in TEST()
83 EXPECT_EQ(std::vector<int64_t>({2}), getSessions(40, m)); in TEST()
84 EXPECT_EQ(std::vector<int64_t>({2, 3}), getSessions(50, m)); in TEST()
85 EXPECT_EQ(std::vector<int64_t>({2}), getSessions(60, m)); in TEST()
115 EXPECT_EQ(std::vector<int64_t>({1}), getSessions(10, m)); in TEST()
116 EXPECT_EQ(std::vector<int64_t>({1}), getSessions(20, m)); in TEST()
117 EXPECT_EQ(std::vector<int64_t>({1}), getSessions(30, m)); in TEST()
118 EXPECT_EQ(std::vector<int64_t>({}), getSessions(40, m)); in TEST()
119 EXPECT_EQ(std::vector<int64_t>({3}), getSessions(50, m)); in TEST()