diff --git a/testings/testing_treedraw.c b/testings/testing_treedraw.c index 9e802c27e80c41714031255cd9e5407d147c66e4..b8c13a70133024fe7d9b2526a384bdc6bc5e7c26 100644 --- a/testings/testing_treedraw.c +++ b/testings/testing_treedraw.c @@ -50,6 +50,12 @@ main(int argc, char ** argv) x2 = 50 + 50*tiles[i]; libhqr_drawline(x1, y1, x2, y2, tree); } + for ( int i = 1; i < maxMN; i++){ + x1 = x2 = 50 + 50*tiles[i]; + y1 = 50 + 50 * i; + y2 = 50 + 50 * (qrtree.currpiv(&qrtree, 0, i)); + libhqr_drawline(x1, y1, x2, y2, tree); + } libhqr_writeend(tree); free(tree); return 1;