3 /* A few basic tests for the graphxml library */
5 /* Copyright (c) 2006 Darina Dimitrova, Arnaud Legrand. All rights reserved.*/
7 /* This program is free software; you can redistribute it and/or modify it
8 * under the terms of the license (GNU LGPL) which comes with this package. */
11 #include <xbt/module.h>
12 #include "xbt/graph.h"
13 #include "xbt/graphxml.h"
16 void test(char *graph_file);
17 void test(char *graph_file)
19 xbt_graph_t graph = xbt_graph_read(graph_file);
20 xbt_graph_free_graph(graph, NULL, NULL, NULL);
23 int main(int argc, char** argv)
27 fprintf(stderr,"Usage : %s graph.xml\n",argv[0]);