mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 11:31:53 +01:00
sources for 1.3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// AutoPtrTest.cpp
|
||||
//
|
||||
// $Id: //poco/1.2/Foundation/testsuite/src/AutoPtrTest.cpp#2 $
|
||||
// $Id: //poco/1.3/Foundation/testsuite/src/AutoPtrTest.cpp#1 $
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
@@ -180,6 +180,10 @@ void AutoPtrTest::testOps()
|
||||
ptr4 = ptr2;
|
||||
assert (ptr4 == ptr2);
|
||||
assert (!(ptr4 != ptr2));
|
||||
|
||||
assert (!(!ptr1));
|
||||
ptr1 = 0;
|
||||
assert (!ptr1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user