2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the GNU LGPLv2.1 license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
11 #include "isl_sample.h"
13 #include "isl_map_private.h"
15 int main(int argc
, char **argv
)
17 struct isl_ctx
*ctx
= isl_ctx_alloc();
18 struct isl_basic_set
*bset
;
19 struct isl_vec
*sample
;
21 bset
= isl_basic_set_read_from_file(ctx
, stdin
, 0);
22 sample
= isl_basic_set_sample_vec(isl_basic_set_copy(bset
));
23 isl_vec_dump(sample
, stdout
, 0);
26 assert(isl_basic_set_contains(bset
, sample
));
27 isl_basic_set_free(bset
);