text: #include <stdio.h>
  
  #include "include/dynamic_array.h"
  
  int main()
  {
      dynamic_array_t arr = dynamic_array__construct();
  
      dynamic_array__add_back(&arr, (void*)1);
      dynamic_array__add_front(&arr, (void*)2);
      dynamic_array__add_front(&arr, (void*)3);
      dynamic_array__add_back(&arr, (void*)4);
      dynamic_array__add_back(&arr, (void*)5);
      dynamic_array__add_front(&arr, (void*)6);
  
      dynamic_array__remove_back(&arr);
      dynamic_array__remove_front(&arr);
  
      for (dynamic_array_iterator_t it = dynamic_array__begin(&arr); it != dynamic_array__end(&arr); dynamic_array_iterator__next(&it))
      {
          printf("%d\n", (int)*it);
      }
  
      dynamic_array__destruct(&arr);
  
      return 0;
  }
  