diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2008-09-08 20:42:12 +0200 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2008-09-16 19:07:41 +0200 |
commit | 608fe1dc7d7df7c60b18af546ec719e3a4c7ee81 (patch) | |
tree | 4e22f84d8caa269485dd196ae5e28502e0176010 /isl_test.c | |
parent | 0c8b3535fe28f5ca90e0408ada81daf01cbb47e5 (diff) | |
download | isl-608fe1dc7d7df7c60b18af546ec719e3a4c7ee81.tar.gz isl-608fe1dc7d7df7c60b18af546ec719e3a4c7ee81.tar.bz2 isl-608fe1dc7d7df7c60b18af546ec719e3a4c7ee81.zip |
isl_{basic_,}set_read_from_file: allow user to specify number of parameters
Diffstat (limited to 'isl_test.c')
-rw-r--r-- | isl_test.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -20,12 +20,12 @@ void test_application_case(struct isl_ctx *ctx, const char *name) input = fopen(filename, "r"); assert(input); - bset1 = isl_basic_set_read_from_file(ctx, input, ISL_FORMAT_OMEGA); - bmap = isl_basic_map_read_from_file(ctx, input, ISL_FORMAT_OMEGA); + bset1 = isl_basic_set_read_from_file(ctx, input, 0, ISL_FORMAT_OMEGA); + bmap = isl_basic_map_read_from_file(ctx, input, 0, ISL_FORMAT_OMEGA); bset1 = isl_basic_set_apply(ctx, bset1, bmap); - bset2 = isl_basic_set_read_from_file(ctx, input, ISL_FORMAT_OMEGA); + bset2 = isl_basic_set_read_from_file(ctx, input, 0, ISL_FORMAT_OMEGA); assert(isl_basic_set_is_equal(ctx, bset1, bset2) == 1); @@ -54,8 +54,8 @@ void test_affine_hull_case(struct isl_ctx *ctx, const char *name) input = fopen(filename, "r"); assert(input); - bset1 = isl_basic_set_read_from_file(ctx, input, ISL_FORMAT_POLYLIB); - bset2 = isl_basic_set_read_from_file(ctx, input, ISL_FORMAT_POLYLIB); + bset1 = isl_basic_set_read_from_file(ctx, input, 0, ISL_FORMAT_POLYLIB); + bset2 = isl_basic_set_read_from_file(ctx, input, 0, ISL_FORMAT_POLYLIB); bset1 = isl_basic_set_affine_hull(ctx, bset1); @@ -87,13 +87,13 @@ void test_convex_hull_case(struct isl_ctx *ctx, const char *name) input = fopen(filename, "r"); assert(input); - bset1 = isl_basic_set_read_from_file(ctx, input, ISL_FORMAT_POLYLIB); - bset2 = isl_basic_set_read_from_file(ctx, input, ISL_FORMAT_POLYLIB); + bset1 = isl_basic_set_read_from_file(ctx, input, 0, ISL_FORMAT_POLYLIB); + bset2 = isl_basic_set_read_from_file(ctx, input, 0, ISL_FORMAT_POLYLIB); set = isl_basic_set_union(ctx, bset1, bset2); bset1 = isl_set_convex_hull(ctx, set); - bset2 = isl_basic_set_read_from_file(ctx, input, ISL_FORMAT_POLYLIB); + bset2 = isl_basic_set_read_from_file(ctx, input, 0, ISL_FORMAT_POLYLIB); assert(isl_basic_set_is_equal(ctx, bset1, bset2) == 1); |