added tests for tsDllList::find()

This commit is contained in:
Jeff Hill
2000-10-20 21:11:59 +00:00
parent bf2d280464
commit 3e548bdd60

View File

@@ -61,7 +61,9 @@ int main ()
pJane = new jane("JA");
janeList.add(*pJane);
pJane = new jane("JB");
assert ( janeList.find ( *pJane ) == -1 );
janeList.add(*pJane);
assert ( janeList.find ( *pJane ) == 1 );
while ( (pJane = janeFwdIter()) ) {
pJane->show();