fixed bug in test routine
This commit is contained in:
1 parent
24e0989142
commit
bece5d0b9a
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -626,7 +626,7 @@ main()
|
||||
exit(4);
|
||||
}
|
||||
printf("ok\nellConcat() check... ");
|
||||
ellConcat(list1, list2);
|
||||
ellConcat(&list1, &list2);
|
||||
if ((ellCount(&list1) != 20)||(ellCount(&list2) != 0)||
|
||||
(list1.node.previous != (ELLNODE *)pmyNode))
|
||||
{
|
||||
|
||||
@@ -626,7 +626,7 @@ main()
|
||||
exit(4);
|
||||
}
|
||||
printf("ok\nellConcat() check... ");
|
||||
ellConcat(list1, list2);
|
||||
ellConcat(&list1, &list2);
|
||||
if ((ellCount(&list1) != 20)||(ellCount(&list2) != 0)||
|
||||
(list1.node.previous != (ELLNODE *)pmyNode))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user