Lines Matching refs:t1
49 t1(12,88); in int_test() local
54 CPPUNIT_ASSERT_MESSAGE("int ctor1", t1.begin() == 12); in int_test()
55 CPPUNIT_ASSERT_MESSAGE("int ctor2", t1.end() == 88); in int_test()
64 CPPUNIT_ASSERT_MESSAGE("int size1", t1.size() == size_t(t1.end() - t1.begin()) ); in int_test()
79 CPPUNIT_ASSERT_MESSAGE("int contains1", t1.contains(t1)); in int_test()
80 CPPUNIT_ASSERT_MESSAGE("int contains2", t1.contains(t2)); in int_test()
81 CPPUNIT_ASSERT_MESSAGE("int contains3", ! t1.contains(t3)); in int_test()
82 CPPUNIT_ASSERT_MESSAGE("int contains4", ! t1.contains(t4)); in int_test()
83 CPPUNIT_ASSERT_MESSAGE("int contains5", t1.contains(t5)); in int_test()
84 CPPUNIT_ASSERT_MESSAGE("int contains6", t1.contains(t6)); in int_test()
85 CPPUNIT_ASSERT_MESSAGE("int contains7", t1.contains(t7)); in int_test()
86 CPPUNIT_ASSERT_MESSAGE("int contains8", t1.contains(t8)); in int_test()
87 CPPUNIT_ASSERT_MESSAGE("int contains9", ! t1.contains(t9)); in int_test()
88 CPPUNIT_ASSERT_MESSAGE("int contains10", ! t1.contains(t10)); in int_test()
89 CPPUNIT_ASSERT_MESSAGE("int contains11", ! t1.contains(t11)); in int_test()
90 CPPUNIT_ASSERT_MESSAGE("int contains12", ! t1.contains(t12)); in int_test()
92 CPPUNIT_ASSERT_MESSAGE("int contains n1", t1.contains(50)); in int_test()
93 CPPUNIT_ASSERT_MESSAGE("int contains n2", t1.contains(12)); in int_test()
94 CPPUNIT_ASSERT_MESSAGE("int contains n3", t1.contains(87)); in int_test()
95 CPPUNIT_ASSERT_MESSAGE("int contains n4", ! t1.contains(3)); in int_test()
96 CPPUNIT_ASSERT_MESSAGE("int contains n5", ! t1.contains(11)); in int_test()
97 CPPUNIT_ASSERT_MESSAGE("int contains n6", ! t1.contains(88)); in int_test()
98 CPPUNIT_ASSERT_MESSAGE("int contains n7", ! t1.contains(100)); in int_test()
103 CPPUNIT_ASSERT_MESSAGE("int overlaps1", t1.overlaps(t1)); in int_test()
104 CPPUNIT_ASSERT_MESSAGE("int overlaps2", t1.overlaps(t2)); in int_test()
105 CPPUNIT_ASSERT_MESSAGE("int overlaps3", ! t1.overlaps(t3)); in int_test()
106 CPPUNIT_ASSERT_MESSAGE("int overlaps4", t1.overlaps(t4)); in int_test()
107 CPPUNIT_ASSERT_MESSAGE("int overlaps5", t1.overlaps(t5)); in int_test()
108 CPPUNIT_ASSERT_MESSAGE("int overlaps6", t1.overlaps(t6)); in int_test()
109 CPPUNIT_ASSERT_MESSAGE("int overlaps7", t1.overlaps(t7)); in int_test()
110 CPPUNIT_ASSERT_MESSAGE("int overlaps8", t1.overlaps(t8)); in int_test()
111 CPPUNIT_ASSERT_MESSAGE("int overlaps9", ! t1.overlaps(t9)); in int_test()
112 CPPUNIT_ASSERT_MESSAGE("int overlaps10", t1.overlaps(t10)); in int_test()
113 CPPUNIT_ASSERT_MESSAGE("int overlaps11", ! t1.overlaps(t11)); in int_test()
114 CPPUNIT_ASSERT_MESSAGE("int overlaps12", ! t1.overlaps(t12)); in int_test()
115 CPPUNIT_ASSERT_MESSAGE("int overlaps13", ! t1.overlaps(t13)); in int_test()
118 CPPUNIT_ASSERT_MESSAGE("int distance_to1", t1.distance_to(t13) == 0); in int_test()
119 CPPUNIT_ASSERT_MESSAGE("int distance_to2", t1.distance_to(t9) == 0); in int_test()
120 CPPUNIT_ASSERT_MESSAGE("int distance_to3", t1.distance_to(t11) == 2); in int_test()
121 CPPUNIT_ASSERT_MESSAGE("int distance_to4", t1.distance_to(t8) == -1); in int_test()
122 CPPUNIT_ASSERT_MESSAGE("int distance_to5", t1.distance_to(t3) == -88); in int_test()
135 t1(hit1, hit2); in iterator_test() local
140 CPPUNIT_ASSERT_MESSAGE("ivec ctor1", t1.begin() == hit1); in iterator_test()
141 CPPUNIT_ASSERT_MESSAGE("ivec ctor2", t1.end() == hit2); in iterator_test()
150 CPPUNIT_ASSERT_MESSAGE("ivec size1", t1.size() == size_t(t1.end() - t1.begin()) ); in iterator_test()
165 CPPUNIT_ASSERT_MESSAGE("ivec contains1", t1.contains(t1)); in iterator_test()
166 CPPUNIT_ASSERT_MESSAGE("ivec contains2", t1.contains(t2)); in iterator_test()
167 CPPUNIT_ASSERT_MESSAGE("ivec contains3", ! t1.contains(t3)); in iterator_test()
168 CPPUNIT_ASSERT_MESSAGE("ivec contains4", ! t1.contains(t4)); in iterator_test()
169 CPPUNIT_ASSERT_MESSAGE("ivec contains5", t1.contains(t5)); in iterator_test()
170 CPPUNIT_ASSERT_MESSAGE("ivec contains6", t1.contains(t6)); in iterator_test()
171 CPPUNIT_ASSERT_MESSAGE("ivec contains7", t1.contains(t7)); in iterator_test()
172 CPPUNIT_ASSERT_MESSAGE("ivec contains8", t1.contains(t8)); in iterator_test()
173 CPPUNIT_ASSERT_MESSAGE("ivec contains9", ! t1.contains(t9)); in iterator_test()
174 CPPUNIT_ASSERT_MESSAGE("ivec contains10", ! t1.contains(t10)); in iterator_test()
175 CPPUNIT_ASSERT_MESSAGE("ivec contains11", ! t1.contains(t11)); in iterator_test()
176 CPPUNIT_ASSERT_MESSAGE("ivec contains12", ! t1.contains(t12)); in iterator_test()
178 CPPUNIT_ASSERT_MESSAGE("ivec contains n1", t1.contains(hv.begin() + 50)); in iterator_test()
179 CPPUNIT_ASSERT_MESSAGE("ivec contains n2", t1.contains(hit1)); in iterator_test()
180 CPPUNIT_ASSERT_MESSAGE("ivec contains n3", t1.contains(hv.begin() + 87)); in iterator_test()
181 CPPUNIT_ASSERT_MESSAGE("ivec contains n4", ! t1.contains(hv.begin() + 3)); in iterator_test()
182 CPPUNIT_ASSERT_MESSAGE("ivec contains n5", ! t1.contains(hv.begin() + 11)); in iterator_test()
183 CPPUNIT_ASSERT_MESSAGE("ivec contains n6", ! t1.contains(hit2)); in iterator_test()
184 CPPUNIT_ASSERT_MESSAGE("ivec contains n7", ! t1.contains(hv.begin() + 100)); in iterator_test()
189 CPPUNIT_ASSERT_MESSAGE("ivec overlaps1", t1.overlaps(t1)); in iterator_test()
190 CPPUNIT_ASSERT_MESSAGE("ivec overlaps2", t1.overlaps(t2)); in iterator_test()
191 CPPUNIT_ASSERT_MESSAGE("ivec overlaps3", ! t1.overlaps(t3)); in iterator_test()
192 CPPUNIT_ASSERT_MESSAGE("ivec overlaps4", t1.overlaps(t4)); in iterator_test()
193 CPPUNIT_ASSERT_MESSAGE("ivec overlaps5", t1.overlaps(t5)); in iterator_test()
194 CPPUNIT_ASSERT_MESSAGE("ivec overlaps6", t1.overlaps(t6)); in iterator_test()
195 CPPUNIT_ASSERT_MESSAGE("ivec overlaps7", t1.overlaps(t7)); in iterator_test()
196 CPPUNIT_ASSERT_MESSAGE("ivec overlaps8", t1.overlaps(t8)); in iterator_test()
197 CPPUNIT_ASSERT_MESSAGE("ivec overlaps9", ! t1.overlaps(t9)); in iterator_test()
198 CPPUNIT_ASSERT_MESSAGE("ivec overlaps10", t1.overlaps(t10)); in iterator_test()
199 CPPUNIT_ASSERT_MESSAGE("ivec overlaps11", ! t1.overlaps(t11)); in iterator_test()
200 CPPUNIT_ASSERT_MESSAGE("ivec overlaps12", ! t1.overlaps(t12)); in iterator_test()
201 CPPUNIT_ASSERT_MESSAGE("ivec overlaps13", ! t1.overlaps(t13)); in iterator_test()
204 CPPUNIT_ASSERT_MESSAGE("ivec distance_to1", t1.distance_to(t13) == 0); in iterator_test()
205 CPPUNIT_ASSERT_MESSAGE("ivec distance_to2", t1.distance_to(t8) == -1); in iterator_test()
206 CPPUNIT_ASSERT_MESSAGE("ivec distance_to3", t1.distance_to(t9) == 0); in iterator_test()
207 CPPUNIT_ASSERT_MESSAGE("ivec distance_to4", t1.distance_to(t11) == 2); in iterator_test()
208 CPPUNIT_ASSERT_MESSAGE("ivec distance_to5", t1.distance_to(t3) == -88); in iterator_test()