#include <assert.h>
#include <math.h>

int main(void){
  double tab[] = {15.091159, 17.018564, 2.303721, 10.299249, 2.287905, 18.939696, 16.623742, 19.695700, 3.364164, 3.737904, 14.405662, 15.179672, 11.332850, 2.557379, 2.805298, 19.833425, 0.348194, 4.880141, 19.848426, 3.562896, 11.594663, 7.337706, 11.706009, 15.299541, 14.497066};

  assert(fabs(somme(tab, 25) - 264.55073) < 0.0001 );

  return 0;
}
