提交 178af4d1 编写于 作者: Z zjx

Amend ArrayList removeByRange

Description
 Modify removebyrange in ArrayList
Related issue
 #I5HSG6:Modify removebyrange in ArrayList
Signed-off-by: Nzjx <zhangjixing4@huawei.com>
上级 2b52be99
......@@ -1058,11 +1058,9 @@ describe("ArraylistTest", function () {
arrayList.add("b");
arrayList.add("c");
arrayList.add(1);
arrayList.removeByRange(0, 8);
arrayList.removeByRange(0, 9);
let res = arrayList.length;
let res1 = arrayList.getLastIndexOf(1);
expect(res).assertEqual(1);
expect(res1).assertEqual(0);
expect(res).assertEqual(0);
});
});
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册