提交 37e4b0a9 编写于 作者: W wxyu

Using new structure for tasktable


Former-commit-id: 80376dce0fd24c8c541c05363d702941f69dca0e
上级 80b9c79c
......@@ -238,8 +238,8 @@ TEST_F(TaskTableBaseTest, PICK_TO_LOAD_LIMIT) {
auto indexes = empty_table_.PickToLoad(3);
ASSERT_EQ(indexes.size(), 3);
ASSERT_EQ(indexes[0] % empty_table_.Capacity(), 2);
ASSERT_EQ(indexes[1]% empty_table_.Capacity(), 3);
ASSERT_EQ(indexes[2]% empty_table_.Capacity(), 4);
ASSERT_EQ(indexes[1] % empty_table_.Capacity(), 3);
ASSERT_EQ(indexes[2] % empty_table_.Capacity(), 4);
}
TEST_F(TaskTableBaseTest, PICK_TO_LOAD_CACHE) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册