浏览代码

* small extension of the test for completeness sake

git-svn-id: trunk@38369 -
svenbarth 7 年之前
父节点
当前提交
332b078c22
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      tests/test/tarray12.pp

+ 6 - 0
tests/test/tarray12.pp

@@ -107,6 +107,12 @@ begin
   PrintArray(t);
   PrintArray(t);
   CheckArray(t, [1, 3, 5]);
   CheckArray(t, [1, 3, 5]);
 
 
+  t := Nil;
+  t2 := Nil;
+  Insert(t2, t, 0);
+  PrintArray(t);
+  CheckArray(t, []);
+
   t := Nil;
   t := Nil;
   Insert([], t, 0);
   Insert([], t, 0);
   PrintArray(t);
   PrintArray(t);