Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Misc Sonar issues.
[simgrid.git] / src / xbt / dynar_test.cpp
index 98ea721..cf36c74 100644 (file)
@@ -1,6 +1,6 @@
 /* a generic DYNamic ARray implementation.                                  */
 
-/* Copyright (c) 2004-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2004-2023. The SimGrid Team. 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. */
@@ -8,7 +8,7 @@
 #include "xbt/dynar.h"
 #include "xbt/sysdep.h"
 
-#include "catch.hpp"
+#include "src/3rd-party/catch.hpp"
 
 #include <string>
 
@@ -18,7 +18,6 @@ TEST_CASE("xbt::dynar: generic C vector", "dynar")
 {
   SECTION("Dynars of integers")
   {
-    /* Vars_decl [doxygen cruft] */
     int cpt;
     unsigned int cursor;
 
@@ -32,7 +31,6 @@ TEST_CASE("xbt::dynar: generic C vector", "dynar")
     /* in your code is naturally the way to go outside a regression test */
 
     INFO("==== Push " << NB_ELEM << " int, set them again 3 times, traverse them, shift them");
-    /* Populate_ints [doxygen cruft] */
     /* 1. Populate the dynar */
     d = xbt_dynar_new(sizeof(int), nullptr);
     for (int i = 0; i < NB_ELEM; i++) {