/* dynar_double: A test case for the dynar using doubles as content */
-/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2003,2004 Martin Quinson. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include <stdio.h>
-#include <gras.h>
+#include "gras.h"
XBT_LOG_NEW_DEFAULT_CATEGORY(test,"Logging specific to this test");
int main(int argc,char *argv[]) {
xbt_dynar_t d;
- xbt_error_t errcode;
int cpt,cursor;
double d1,d2;
- xbt_init_defaultlog(&argc,argv,"dynar.thresh=debug");
+ xbt_init(&argc,argv);
INFO0("==== Traverse the empty dynar");
d=xbt_dynar_new(sizeof(int),NULL);