/* *************************************************************** */
int unit_test_put_get_value_large_file(int depths, int rows, int cols, int tile_size)
{
    int sum = 0;

    G_message("\n++ Running raster3d put/get value large file unit tests ++");

    sum += test_large_file(depths, rows, cols, tile_size);
    sum += test_large_file_random(depths, rows, cols, tile_size);
    sum += test_large_file_sparse_random(depths, rows, cols, tile_size);
    sum += test_large_file(depths, rows, cols, tile_size);
    sum += test_large_file_zeros(depths, rows, cols, tile_size);
    sum += test_large_file(depths, rows, cols, tile_size);


    if (sum > 0)
        G_warning("\n-- raster3d put/get value large file unit tests failure --");
    else
        G_message("\n-- raster3d put/get value large file unit tests finished successfully --");

    return sum;
}
Beispiel #2
0
int main(int, char **argv) {
    test_large_file(dir_name(*argv) + "/big.json");
    test_vctor();

    return 0;
}