Lines Matching defs:y1
82 barrier.y1 = y - 50;
104 int x1, y1, x2, y2;
113 barrier.y1 = y - 50;
119 y1 = y;
121 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
127 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
132 y1 = y + 100;
134 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
139 y1 = y + 5;
141 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
146 y1 = y + 100;
148 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
153 y1 = y;
155 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
160 y1 = y;
162 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
167 y1 = y;
169 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
174 y1 = y;
176 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
181 y1 = y + 100;
183 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
188 y1 = y + 100;
190 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
195 barrier.y1 = y;
201 y1 = y - 1;
203 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
206 y1 = y + 10;
208 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
213 y1 = y + 1;
215 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
218 y1 = y + 5;
222 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
225 y1 = y + 5;
229 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
232 y1 = y;
236 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
239 y1 = y;
243 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
246 y1 = y - 1;
250 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
253 y1 = y + 1;
257 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
260 y1 = y;
264 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
267 y1 = y + 1;
271 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
276 barrier.y1 = -1;
280 y1 = y;
284 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
287 y1 = y - 1000;
291 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
294 y1 = y + 150;
298 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance));
314 barrier.y1 = y - 50;
333 barrier.y1 = y;
341 assert(cy == barrier.y1 - 1);
347 assert(cy == barrier.y1);