Mmh intendi il main?
Nel caso fosse quello te lo copio:
#include <stdlib.h>
#include <string.h>
#include "../libtest/libtest.h"
#include "test.h"
#include "scl.h"
#include "esercizio.h"
int main(int argc, char** argv){
TipoSCL scls[10];
scls[0] = NULL;
scls[1] = nuovo(1,NULL);
scls[2] = nuovo(5,NULL);
scls[3] = nuovo(1,nuovo(3,NULL));
scls[4] = nuovo(1,nuovo(5,NULL));
scls[5] = nuovo(5,nuovo(3,nuovo(1,NULL)));
scls[6] = nuovo(1,nuovo(3,nuovo(5,NULL)));
scls[7] = nuovo(3,nuovo(3,nuovo(5,nuovo(5,NULL))));
scls[8] = nuovo(5,nuovo(5,nuovo(3,nuovo(3,NULL))));
scls[9] = nuovo(5,nuovo(5,nuovo(5,nuovo(5,nuovo(5,NULL)))));
int m = 3;
int scls2[10][10] = {
{0,0,0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0,0,0},
{5,0,0,0,0,0,0,0,0,1},
{0,0,0,0,0,0,0,0,0,0},
{5,0,0,0,0,0,0,0,0,1},
{5,0,0,0,0,0,0,0,0,1},
{5,0,0,0,0,0,0,0,0,1},
{5,5,0,0,0,0,0,0,0,2},
{5,5,0,0,0,0,0,0,0,2},
{5,5,5,5,5,0,0,0,0,5}
};
test_reset();
TipoSCL scl;
for (int i = 0; i < 10; i++) {
print_test_start(i+1);
printf("Funzione: maggioriDi\n");
printf("Input: %s\n", toString(scls[i]));
int n;
int* ris = maggioriDi(scls[i],m,&n);
test_compare_array_int(scls2[i],scls2[i][9],ris,n);
print_test_end();
print_n_success("#Test superati: ");
}
print_test_result("Percentuale test corretti:");
}