Lines Matching refs:rTestObj3
37 template< class T > void test( T& rTestObj1, T& rTestObj2, T& rTestObj3 ) in test() argument
41 ASSERT_TRUE(rTestObj3.is_unique() ) << "rTestObj3 is unique"; in test()
44 ASSERT_TRUE(rTestObj2 != rTestObj3 ) << "rTestObj2 != rTestObj3"; in test()
45 ASSERT_TRUE(rTestObj1 != rTestObj3 ) << "rTestObj1 != rTestObj3"; in test()
47 ASSERT_TRUE(rTestObj2 < rTestObj3 ) << "rTestObj2 < rTestObj3"; in test()
50 rTestObj3 = rTestObj1; in test()
52 ASSERT_TRUE(rTestObj1 == rTestObj3 ) << "rTestObj1 == rTestObj3"; in test()
55 ASSERT_TRUE(rTestObj3.use_count() == 3 ) << "rTestObj3.use_count() == 3"; in test()
59 ASSERT_TRUE(rTestObj1 == rTestObj3 ) << "rTestObj1 == rTestObj3"; in test()
63 ASSERT_TRUE(rTestObj3.use_count() == 2 ) << "rTestObj3.use_count() == 2"; in test()
65 rTestObj2.swap( rTestObj3 ); in test()
67 ASSERT_TRUE(rTestObj1 == rTestObj3 ) << "rTestObj1 == rTestObj3"; in test()
70 ASSERT_TRUE(rTestObj3.use_count() == 1 ) << "rTestObj3.use_count() == 1"; in test()
71 ASSERT_TRUE(rTestObj3.is_unique() ) << "rTestObj3.is_unique()"; in test()