From 5c0f53680c4b745a7e9f89908face737189e51f8 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Tue, 12 Dec 2023 15:20:46 +0100 Subject: [PATCH] Add profile levels --- tests/README.md | 50 ++++++++++++++++----------- tests/absolute.json5 | 3 +- tests/add.json5 | 3 +- tests/add_dimension.json5 | 3 +- tests/aggregate_spatial.json5 | 3 +- tests/aggregate_spatial_window.json5 | 5 +++ tests/aggregate_temporal.json5 | 3 +- tests/aggregate_temporal_period.json5 | 3 +- tests/all.json5 | 3 +- tests/and.json5 | 3 +- tests/anomaly.json5 | 3 +- tests/any.json5 | 3 +- tests/apply.json5 | 1 + tests/apply_dimension.json5 | 3 +- tests/apply_kernel.json5 | 3 +- tests/apply_neighborhood.json5 | 3 +- tests/apply_polygon.json5 | 5 +++ tests/arccos.json5 | 3 +- tests/arcosh.json5 | 1 + tests/arcsin.json5 | 3 +- tests/arctan.json5 | 3 +- tests/arctan2.json5 | 3 +- tests/array_append.json5 | 1 + tests/array_apply.json5 | 1 + tests/array_concat.json5 | 5 ++- tests/array_contains.json5 | 3 +- tests/array_create.json5 | 3 +- tests/array_create_labeled.json5 | 5 +++ tests/array_element.json5 | 7 +++- tests/array_filter.json5 | 1 + tests/array_find.json5 | 3 +- tests/array_find_label.json5 | 5 +++ tests/array_interpolate_linear.json5 | 3 +- tests/array_labels.json5 | 3 +- tests/array_modify.json5 | 3 +- tests/arsinh.json5 | 3 +- tests/artanh.json5 | 3 +- tests/between.json5 | 3 +- tests/ceil.json5 | 3 +- tests/climatological_normal.json5 | 3 +- tests/clip.json5 | 3 +- tests/cloud_detection.json5 | 5 +++ tests/constant.json5 | 3 +- tests/cos.json5 | 3 +- tests/cosh.json5 | 1 + tests/count.json5 | 33 +++++++++++++++++- tests/create_data_cube.json5 | 3 +- tests/cummax.json5 | 3 +- tests/cummin.json5 | 3 +- tests/cumproduct.json5 | 3 +- tests/cumsum.json5 | 3 +- tests/date_between.json5 | 3 +- tests/date_difference.json5 | 3 +- tests/date_shift.json5 | 3 +- tests/dimension_labels.json5 | 3 +- tests/divide.json5 | 1 + tests/drop_dimension.json5 | 3 +- tests/e.json5 | 3 +- tests/eq.json5 | 1 + tests/exp.json5 | 1 + tests/extrema.json5 | 1 + tests/filter_bands.json5 | 3 +- tests/filter_bbox.json5 | 3 +- tests/filter_labels.json5 | 5 +++ tests/filter_spatial.json5 | 3 +- tests/filter_temporal.json5 | 3 +- tests/filter_vector.json5 | 5 +++ tests/first.json5 | 1 + tests/flatten_dimensions.json5 | 5 +++ tests/floor.json5 | 3 +- tests/gt.json5 | 1 + tests/gte.json5 | 1 + tests/if.json5 | 3 +- tests/inspect.json5 | 5 +++ tests/int.json5 | 3 +- tests/is_infinite.json5 | 3 +- tests/is_nan.json5 | 3 +- tests/is_nodata.json5 | 3 +- tests/is_valid.json5 | 3 +- tests/last.json5 | 3 +- tests/linear_scale_range.json5 | 1 + tests/ln.json5 | 3 +- tests/load_collection.json5 | 5 +++ tests/load_geojson.json5 | 5 +++ tests/load_stac.json5 | 5 +++ tests/load_url.json5 | 5 +++ tests/log.json5 | 1 + tests/lt.json5 | 1 + tests/lte.json5 | 1 + tests/mask.json5 | 3 +- tests/mask_polygon.json5 | 3 +- tests/max.json5 | 1 + tests/mean.json5 | 1 + tests/median.json5 | 1 + tests/merge_cubes.json5 | 3 +- tests/min.json5 | 3 +- tests/mod.json5 | 3 +- tests/multiply.json5 | 3 +- tests/nan.json5 | 3 +- tests/ndvi.json5 | 3 +- tests/neq.json5 | 1 + tests/normalized_difference.json5 | 3 +- tests/not.json5 | 3 +- tests/or.json5 | 3 +- tests/order.json5 | 3 +- tests/pi.json5 | 3 +- tests/power.json5 | 1 + tests/product.json5 | 1 + tests/quantiles.json5 | 5 +-- tests/rearrange.json5 | 1 + tests/reduce_dimension.json5 | 3 +- tests/reduce_spatial.json5 | 5 +++ tests/rename_dimension.json5 | 3 +- tests/rename_labels.json5 | 1 + tests/resample_cube_spatial.json5 | 3 +- tests/resample_cube_temporal.json5 | 3 +- tests/resample_spatial.json5 | 3 +- tests/round.json5 | 3 +- tests/save_result.json5 | 5 +++ tests/sd.json5 | 3 +- tests/sgn.json5 | 3 +- tests/sin.json5 | 3 +- tests/sinh.json5 | 1 + tests/sort.json5 | 3 +- tests/sqrt.json5 | 3 +- tests/subtract.json5 | 1 + tests/sum.json5 | 1 + tests/tan.json5 | 1 + tests/tanh.json5 | 3 +- tests/text_begins.json5 | 3 +- tests/text_concat.json5 | 3 +- tests/text_contains.json5 | 3 +- tests/text_ends.json5 | 3 +- tests/trim_cube.json5 | 3 +- tests/unflatten_dimensions.json5 | 5 +++ tests/variance.json5 | 3 +- tests/vector_buffer.json5 | 5 +++ tests/vector_reproject.json5 | 5 +++ tests/vector_to_random_points.json5 | 5 +++ tests/vector_to_regular_points.json5 | 5 +++ tests/xor.json5 | 3 +- 141 files changed, 377 insertions(+), 113 deletions(-) create mode 100644 tests/aggregate_spatial_window.json5 create mode 100644 tests/apply_polygon.json5 create mode 100644 tests/array_create_labeled.json5 create mode 100644 tests/array_find_label.json5 create mode 100644 tests/cloud_detection.json5 create mode 100644 tests/filter_labels.json5 create mode 100644 tests/filter_vector.json5 create mode 100644 tests/flatten_dimensions.json5 create mode 100644 tests/inspect.json5 create mode 100644 tests/load_collection.json5 create mode 100644 tests/load_geojson.json5 create mode 100644 tests/load_stac.json5 create mode 100644 tests/load_url.json5 create mode 100644 tests/reduce_spatial.json5 create mode 100644 tests/save_result.json5 create mode 100644 tests/unflatten_dimensions.json5 create mode 100644 tests/vector_buffer.json5 create mode 100644 tests/vector_reproject.json5 create mode 100644 tests/vector_to_random_points.json5 create mode 100644 tests/vector_to_regular_points.json5 diff --git a/tests/README.md b/tests/README.md index 203fc8f7..e8cab80b 100644 --- a/tests/README.md +++ b/tests/README.md @@ -8,6 +8,7 @@ This folder contains test cases for the openEO processes. - [x] add - [ ] add_dimension - [ ] aggregate_spatial +- [ ] aggregate_spatial_window (experimental) - [ ] aggregate_temporal - [ ] aggregate_temporal_period - [x] all @@ -18,6 +19,7 @@ This folder contains test cases for the openEO processes. - [ ] apply_dimension - [ ] apply_kernel - [ ] apply_neighborhood +- [ ] apply_polygon (experimental) - [x] arccos - [x] arcosh - [x] arcsin @@ -28,9 +30,11 @@ This folder contains test cases for the openEO processes. - [x] array_concat - [x] array_contains - [x] array_create +- [ ] array_create_labeled (experimental) - [x] array_element - [x] array_filter - [x] array_find +- [ ] array_find_label (experimental) - [x] array_interpolate_linear - [x] array_labels - [x] array_modify* (experimental) @@ -61,9 +65,12 @@ This folder contains test cases for the openEO processes. - [x] extrema - [ ] filter_bands - [ ] filter_bbox +- [ ] filter_labels (experimental) - [ ] filter_spatial - [ ] filter_temporal +- [ ] filter_vector (experimental) - [x] first +- [ ] flatten_dimensions (experimental) - [x] floor - [x] gt - [x] gte @@ -71,9 +78,11 @@ This folder contains test cases for the openEO processes. - [x] int - [x] is_infinite (experimental) - [x] is_nan +- [x] is_nodata* - [x] last - [x] linear_scale_range - [x] ln +- [ ] load_geojson (experimental) - [x] log - [x] lt - [x] lte @@ -99,6 +108,7 @@ This folder contains test cases for the openEO processes. - [x] quantiles - [x] rearrange* - [ ] reduce_dimension +- [ ] reduce_spatial (experimental) - [ ] rename_dimension - [ ] rename_labels - [ ] resample_cube_spatial @@ -120,7 +130,11 @@ This folder contains test cases for the openEO processes. - [x] text_contains - [x] text_ends - [ ] trim_cube +- [ ] unflatten_dimension (experimental) - [x] variance +- [ ] vector_buffer (experimental) +- [ ] vector_reproject (experimental) +- [ ] vector_to_regular_points (experimental) - [x] xor \* = could use some more tests @@ -129,10 +143,6 @@ This folder contains test cases for the openEO processes. See for details. Also, several processes would be affected by . -## Incomplete processes - -- [x] is_nodata - actual no-data values depends on context / metadata - ## Missing processes The following processes have no test cases as the results heavily depend on the underlying implementation @@ -148,6 +158,7 @@ We don't expect that we can provide meaningful test cases for these processes. - load_collection - load_stac (experimental) - load_uploaded_files (experimental) +- load_url (experimental) - predict_curve (experimental) - run_udf - run_udf_externally (experimental) @@ -155,23 +166,6 @@ We don't expect that we can provide meaningful test cases for these processes. - save_result - vector_to_random_points (experimental) -The following processes are in proposal state (i.e. experimental) and may be added later: - -- aggregate_spatial_window (experimental) -- apply_polygon (experimental) -- array_create_labeled (experimental) -- array_find_label (experimental) -- filter_labels (experimental) -- filter_vector (experimental) -- flatten_dimensions (experimental) -- load_geojson (experimental) -- load_url (experimental) -- reduce_spatial (experimental) -- unflatten_dimension (experimental) -- vector_buffer (experimental) -- vector_reproject (experimental) -- vector_to_regular_points (experimental) - ## Assumptions The test cases assume a couple of things as they are an abstraction and not bound to specific implementations: @@ -203,6 +197,11 @@ properties: type: boolean description: Declares that the process is experimental, tests may fail. default: false + level: + type: string + description: openEO process profile the process is assigned to. + default: L4 + pattern: 'L\d([\w-])?' tests: description: A list of test cases without a specific order type: array @@ -251,6 +250,15 @@ properties: - description: Use true if the type of exception is unknown type: boolean const: true + level: + type: + - string + - null + description: >- + openEO process profile the test is assigned to. + Defaults to the level of the process. + default: null + pattern: 'L\d([\w-])?' ``` ### External references diff --git a/tests/absolute.json5 b/tests/absolute.json5 index bb038b43..8d5fbd00 100644 --- a/tests/absolute.json5 +++ b/tests/absolute.json5 @@ -1,5 +1,6 @@ { "id": "absolute", + "level": "L1", "tests": [ { "arguments": { @@ -56,4 +57,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/add.json5 b/tests/add.json5 index 60618917..14183223 100644 --- a/tests/add.json5 +++ b/tests/add.json5 @@ -1,5 +1,6 @@ { "id": "add", + "level": "L1", "tests": [ { "arguments": { @@ -156,4 +157,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/add_dimension.json5 b/tests/add_dimension.json5 index 6cbfd3cf..1be0c876 100644 --- a/tests/add_dimension.json5 +++ b/tests/add_dimension.json5 @@ -1,4 +1,5 @@ { "id": "add_dimension", + "level": "L2", "tests": [] -} \ No newline at end of file +} diff --git a/tests/aggregate_spatial.json5 b/tests/aggregate_spatial.json5 index 5031b473..ff65d6c6 100644 --- a/tests/aggregate_spatial.json5 +++ b/tests/aggregate_spatial.json5 @@ -1,4 +1,5 @@ { "id": "aggregate_spatial", + "level": "L2A", "tests": [] -} \ No newline at end of file +} diff --git a/tests/aggregate_spatial_window.json5 b/tests/aggregate_spatial_window.json5 new file mode 100644 index 00000000..c9541a63 --- /dev/null +++ b/tests/aggregate_spatial_window.json5 @@ -0,0 +1,5 @@ +{ + "id": "aggregate_spatial_window", + "level": "L3", + "tests": [] +} diff --git a/tests/aggregate_temporal.json5 b/tests/aggregate_temporal.json5 index 1a53fa0d..2e5dfdb0 100644 --- a/tests/aggregate_temporal.json5 +++ b/tests/aggregate_temporal.json5 @@ -1,5 +1,6 @@ { "id": "aggregate_temporal", + "level": "L2", "tests": [ { "arguments": { @@ -51,4 +52,4 @@ } } ] -} \ No newline at end of file +} diff --git a/tests/aggregate_temporal_period.json5 b/tests/aggregate_temporal_period.json5 index 6e1876cd..dd3d0233 100644 --- a/tests/aggregate_temporal_period.json5 +++ b/tests/aggregate_temporal_period.json5 @@ -1,4 +1,5 @@ { "id": "aggregate_temporal_period", + "level": "L2", "tests": [] -} \ No newline at end of file +} diff --git a/tests/all.json5 b/tests/all.json5 index 1e1de101..1160e514 100644 --- a/tests/all.json5 +++ b/tests/all.json5 @@ -1,5 +1,6 @@ { "id": "all", + "level": "L2", "tests": [ { "arguments": { @@ -92,4 +93,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/and.json5 b/tests/and.json5 index 6cc48c9c..ab124af5 100644 --- a/tests/and.json5 +++ b/tests/and.json5 @@ -1,5 +1,6 @@ { "id": "and", + "level": "L1", "tests": [ { "arguments": { @@ -65,4 +66,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/anomaly.json5 b/tests/anomaly.json5 index 4ae47e83..c5ea7eb2 100644 --- a/tests/anomaly.json5 +++ b/tests/anomaly.json5 @@ -1,4 +1,5 @@ { "id": "anomaly", + "level": "L3-Clim", "tests": [] -} \ No newline at end of file +} diff --git a/tests/any.json5 b/tests/any.json5 index f84077e6..7d352b43 100644 --- a/tests/any.json5 +++ b/tests/any.json5 @@ -1,5 +1,6 @@ { "id": "any", + "level": "L2", "tests": [ { "arguments": { @@ -92,4 +93,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/apply.json5 b/tests/apply.json5 index 8bfd2d18..128c3c73 100644 --- a/tests/apply.json5 +++ b/tests/apply.json5 @@ -1,5 +1,6 @@ { "id": "apply", + "level": "L1", "tests": [ { "required": [ diff --git a/tests/apply_dimension.json5 b/tests/apply_dimension.json5 index 32413d2d..1accbe9f 100644 --- a/tests/apply_dimension.json5 +++ b/tests/apply_dimension.json5 @@ -1,4 +1,5 @@ { "id": "apply_dimension", + "level": "L1", "tests": [] -} \ No newline at end of file +} diff --git a/tests/apply_kernel.json5 b/tests/apply_kernel.json5 index 69c22e01..28c3c2ab 100644 --- a/tests/apply_kernel.json5 +++ b/tests/apply_kernel.json5 @@ -1,4 +1,5 @@ { "id": "apply_kernel", + "level": "L2A", "tests": [] -} \ No newline at end of file +} diff --git a/tests/apply_neighborhood.json5 b/tests/apply_neighborhood.json5 index 862d9af8..b40b12d7 100644 --- a/tests/apply_neighborhood.json5 +++ b/tests/apply_neighborhood.json5 @@ -1,5 +1,6 @@ { "id": "apply_neighborhood", + "level": "L3", "tests": [ { "arguments": { @@ -56,4 +57,4 @@ } } ] -} \ No newline at end of file +} diff --git a/tests/apply_polygon.json5 b/tests/apply_polygon.json5 new file mode 100644 index 00000000..31d84ea9 --- /dev/null +++ b/tests/apply_polygon.json5 @@ -0,0 +1,5 @@ +{ + "id": "apply_polygon", + "level": "L3", + "tests": [] +} diff --git a/tests/arccos.json5 b/tests/arccos.json5 index 8fbd931b..24b4c84c 100644 --- a/tests/arccos.json5 +++ b/tests/arccos.json5 @@ -1,5 +1,6 @@ { "id": "arccos", + "level": "L1", "tests": [ { "arguments": { @@ -68,4 +69,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/arcosh.json5 b/tests/arcosh.json5 index e4966cfe..7c378f9a 100644 --- a/tests/arcosh.json5 +++ b/tests/arcosh.json5 @@ -1,5 +1,6 @@ { "id": "arcosh", + "level": "L2", "tests": [ { "arguments": { diff --git a/tests/arcsin.json5 b/tests/arcsin.json5 index 4e3d3945..0f1a35a6 100644 --- a/tests/arcsin.json5 +++ b/tests/arcsin.json5 @@ -1,5 +1,6 @@ { "id": "arcsin", + "level": "L1", "tests": [ { "arguments": { @@ -68,4 +69,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/arctan.json5 b/tests/arctan.json5 index e7106301..5a948970 100644 --- a/tests/arctan.json5 +++ b/tests/arctan.json5 @@ -1,5 +1,6 @@ { "id": "arctan", + "level": "L1", "tests": [ { "arguments": { @@ -68,4 +69,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/arctan2.json5 b/tests/arctan2.json5 index 0910e9ec..f3930733 100644 --- a/tests/arctan2.json5 +++ b/tests/arctan2.json5 @@ -1,5 +1,6 @@ { "id": "arctan2", + "level": "L2", "tests": [ { "arguments": { @@ -149,4 +150,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/array_append.json5 b/tests/array_append.json5 index 2c693434..c926d5a6 100644 --- a/tests/array_append.json5 +++ b/tests/array_append.json5 @@ -1,5 +1,6 @@ { "id": "array_append", + "level": "L3", "tests": [ { "arguments": { diff --git a/tests/array_apply.json5 b/tests/array_apply.json5 index ca7a501b..827e2189 100644 --- a/tests/array_apply.json5 +++ b/tests/array_apply.json5 @@ -1,5 +1,6 @@ { "id": "array_apply", + "level": "L3", "tests": [ { // empty array diff --git a/tests/array_concat.json5 b/tests/array_concat.json5 index 0e5dfd05..b045b185 100644 --- a/tests/array_concat.json5 +++ b/tests/array_concat.json5 @@ -1,5 +1,6 @@ { "id": "array_concat", + "level": "L1", "tests": [ { // Adds an empty array @@ -65,6 +66,7 @@ }, { // Check that a normal array and a labeled array lead to a normal array (labels get dropped) + "level": "L3", "arguments": { "array1": [ 1, @@ -93,6 +95,7 @@ }, { // Check that a labeled arrays are supported + "level": "L3", "arguments": { "array1": { "type": "labeled-array", @@ -144,4 +147,4 @@ } } ] -} \ No newline at end of file +} diff --git a/tests/array_contains.json5 b/tests/array_contains.json5 index d6efe2cc..d454f019 100644 --- a/tests/array_contains.json5 +++ b/tests/array_contains.json5 @@ -1,5 +1,6 @@ { "id": "array_contains", + "level": "L3", "tests": [ { "arguments": { @@ -82,4 +83,4 @@ "returns": false } ] -} \ No newline at end of file +} diff --git a/tests/array_create.json5 b/tests/array_create.json5 index e5137695..1e29f80e 100644 --- a/tests/array_create.json5 +++ b/tests/array_create.json5 @@ -1,5 +1,6 @@ { "id": "array_create", + "level": "L1", "tests": [ { "arguments": {}, @@ -53,4 +54,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/tests/array_create_labeled.json5 b/tests/array_create_labeled.json5 new file mode 100644 index 00000000..71e62b09 --- /dev/null +++ b/tests/array_create_labeled.json5 @@ -0,0 +1,5 @@ +{ + "id": "array_create_labeled", + "level": "L3", + "tests": [] +} diff --git a/tests/array_element.json5 b/tests/array_element.json5 index d789ffd6..2eab8dfb 100644 --- a/tests/array_element.json5 +++ b/tests/array_element.json5 @@ -1,5 +1,6 @@ { "id": "array_element", + "level": "L1", "tests": [ { "arguments": { @@ -34,6 +35,7 @@ "returns": null }, { + "level": "L2", "arguments": { "data": { "type": "labeled-array", @@ -65,6 +67,7 @@ "throws": "ArrayElementParameterMissing" }, { + "level": "L2", "arguments": { "data": [ 1 @@ -95,6 +98,7 @@ "throws": "ArrayElementNotAvailable" }, { + "level": "L2", "arguments": { "data": { "type": "labeled-array", @@ -129,6 +133,7 @@ "returns": null }, { + "level": "L2", "arguments": { "data": { "type": "labeled-array", @@ -153,4 +158,4 @@ "returns": null }, ] -} \ No newline at end of file +} diff --git a/tests/array_filter.json5 b/tests/array_filter.json5 index 741da53e..46e6d23e 100644 --- a/tests/array_filter.json5 +++ b/tests/array_filter.json5 @@ -1,5 +1,6 @@ { "id": "array_filter", + "level": "L3", "tests": [ { // empty array diff --git a/tests/array_find.json5 b/tests/array_find.json5 index 9dd5f5a4..b522a7c0 100644 --- a/tests/array_find.json5 +++ b/tests/array_find.json5 @@ -1,5 +1,6 @@ { "id": "array_find", + "level": "L2", "tests": [ { "arguments": { @@ -164,4 +165,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/array_find_label.json5 b/tests/array_find_label.json5 new file mode 100644 index 00000000..ba3bc422 --- /dev/null +++ b/tests/array_find_label.json5 @@ -0,0 +1,5 @@ +{ + "id": "array_find_label", + "level": "L3", + "tests": [] +} diff --git a/tests/array_interpolate_linear.json5 b/tests/array_interpolate_linear.json5 index 8647ec60..d8bde973 100644 --- a/tests/array_interpolate_linear.json5 +++ b/tests/array_interpolate_linear.json5 @@ -1,5 +1,6 @@ { "id": "array_interpolate_linear", + "level": "L3", "tests": [ { "arguments": { @@ -170,4 +171,4 @@ } } ] -} \ No newline at end of file +} diff --git a/tests/array_labels.json5 b/tests/array_labels.json5 index 32efce58..e8da177e 100644 --- a/tests/array_labels.json5 +++ b/tests/array_labels.json5 @@ -1,5 +1,6 @@ { "id": "array_labels", + "level": "L3", "tests": [ { "arguments": { @@ -66,4 +67,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/tests/array_modify.json5 b/tests/array_modify.json5 index 0b629320..adf1c579 100644 --- a/tests/array_modify.json5 +++ b/tests/array_modify.json5 @@ -1,5 +1,6 @@ { "id": "array_modify", + "level": "L3", "experimental": true, "tests": [ { @@ -120,4 +121,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/tests/arsinh.json5 b/tests/arsinh.json5 index 984505a2..7b533601 100644 --- a/tests/arsinh.json5 +++ b/tests/arsinh.json5 @@ -1,5 +1,6 @@ { "id": "arsinh", + "level": "L2", "tests": [ { "arguments": { @@ -56,4 +57,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/artanh.json5 b/tests/artanh.json5 index ee48a78f..6d169e91 100644 --- a/tests/artanh.json5 +++ b/tests/artanh.json5 @@ -1,5 +1,6 @@ { "id": "artanh", + "level": "L2", "tests": [ { "arguments": { @@ -68,4 +69,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/between.json5 b/tests/between.json5 index 052d75a4..a2b8042a 100644 --- a/tests/between.json5 +++ b/tests/between.json5 @@ -1,5 +1,6 @@ { "id": "between", + "level": "L1", "tests": [ { "arguments": { @@ -118,4 +119,4 @@ "returns": false }, ] -} \ No newline at end of file +} diff --git a/tests/ceil.json5 b/tests/ceil.json5 index 0f8ff830..fa042206 100644 --- a/tests/ceil.json5 +++ b/tests/ceil.json5 @@ -1,5 +1,6 @@ { "id": "ceil", + "level": "L1", "tests": [ { "arguments": { @@ -62,4 +63,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/climatological_normal.json5 b/tests/climatological_normal.json5 index 4f143c83..c280e27b 100644 --- a/tests/climatological_normal.json5 +++ b/tests/climatological_normal.json5 @@ -1,4 +1,5 @@ { "id": "climatological_normal", + "level": "L3-Clim", "tests": [] -} \ No newline at end of file +} diff --git a/tests/clip.json5 b/tests/clip.json5 index 45194de6..f3a64fe5 100644 --- a/tests/clip.json5 +++ b/tests/clip.json5 @@ -1,5 +1,6 @@ { "id": "clip", + "level": "L1", "tests": [ { "arguments": { @@ -146,4 +147,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/cloud_detection.json5 b/tests/cloud_detection.json5 new file mode 100644 index 00000000..07245ab4 --- /dev/null +++ b/tests/cloud_detection.json5 @@ -0,0 +1,5 @@ +{ + "id": "cloud_detection", + "level": "L3", + "tests": [] +} diff --git a/tests/constant.json5 b/tests/constant.json5 index 8f13adcf..b8644035 100644 --- a/tests/constant.json5 +++ b/tests/constant.json5 @@ -1,5 +1,6 @@ { "id": "constant", + "level": "L1", "tests": [ { "arguments": { @@ -100,4 +101,4 @@ } } ] -} \ No newline at end of file +} diff --git a/tests/cos.json5 b/tests/cos.json5 index 3d9eedfc..c718147e 100644 --- a/tests/cos.json5 +++ b/tests/cos.json5 @@ -1,5 +1,6 @@ { "id": "cos", + "level": "L1", "tests": [ { "arguments": { @@ -50,4 +51,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/cosh.json5 b/tests/cosh.json5 index 98bb031d..74f5e9e1 100644 --- a/tests/cosh.json5 +++ b/tests/cosh.json5 @@ -1,5 +1,6 @@ { "id": "cosh", + "level": "L2", "tests": [ { "arguments": { diff --git a/tests/count.json5 b/tests/count.json5 index 21ce3519..2bc9529c 100644 --- a/tests/count.json5 +++ b/tests/count.json5 @@ -1,5 +1,6 @@ { "id": "count", + "level": "L2", "tests": [ { "arguments": { @@ -62,6 +63,36 @@ } }, "returns": 3 + }, + { + "level": "L3", + "arguments": { + "data": [ + 0, + 1, + 2, + 3, + 4, + 5, + null + ], + "condition": { + "gt": { + "process_id": "gt", + "arguments": { + "x": { + "from_parameter": "element" + }, + "y": { + "from_parameter": "context" + } + }, + "result": true + } + }, + "context": 2 + }, + "returns": 3 } ] -} \ No newline at end of file +} diff --git a/tests/create_data_cube.json5 b/tests/create_data_cube.json5 index 05829dea..8e35f191 100644 --- a/tests/create_data_cube.json5 +++ b/tests/create_data_cube.json5 @@ -1,4 +1,5 @@ { "id": "create_data_cube", + "level": "L3", "tests": [] -} \ No newline at end of file +} diff --git a/tests/cummax.json5 b/tests/cummax.json5 index 9f9fa3f5..f983f5d4 100644 --- a/tests/cummax.json5 +++ b/tests/cummax.json5 @@ -1,5 +1,6 @@ { "id": "cummax", + "level": "L3", "experimental": true, "tests": [ { @@ -58,4 +59,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/tests/cummin.json5 b/tests/cummin.json5 index 549cd04b..af89506d 100644 --- a/tests/cummin.json5 +++ b/tests/cummin.json5 @@ -1,5 +1,6 @@ { "id": "cummin", + "level": "L3", "experimental": true, "tests": [ { @@ -58,4 +59,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/tests/cumproduct.json5 b/tests/cumproduct.json5 index 4d371b75..835fbc8e 100644 --- a/tests/cumproduct.json5 +++ b/tests/cumproduct.json5 @@ -1,5 +1,6 @@ { "id": "cumproduct", + "level": "L3", "experimental": true, "tests": [ { @@ -62,4 +63,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/tests/cumsum.json5 b/tests/cumsum.json5 index 8744e8cb..ce92f2e6 100644 --- a/tests/cumsum.json5 +++ b/tests/cumsum.json5 @@ -1,5 +1,6 @@ { "id": "cumsum", + "level": "L3", "experimental": true, "tests": [ { @@ -58,4 +59,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/tests/date_between.json5 b/tests/date_between.json5 index c3d9d2f7..f971e2b6 100644 --- a/tests/date_between.json5 +++ b/tests/date_between.json5 @@ -1,5 +1,6 @@ { "id": "date_between", + "level": "L2-Date", "experimental": true, "tests": [ { @@ -11,4 +12,4 @@ "returns": false } ] -} \ No newline at end of file +} diff --git a/tests/date_difference.json5 b/tests/date_difference.json5 index 38bc26e9..6417e4b5 100644 --- a/tests/date_difference.json5 +++ b/tests/date_difference.json5 @@ -1,5 +1,6 @@ { "id": "date_difference", + "level": "L2-Date", "experimental": true, "tests": [ { @@ -32,4 +33,4 @@ "returns": -1 } ] -} \ No newline at end of file +} diff --git a/tests/date_shift.json5 b/tests/date_shift.json5 index a6b8e8d2..40d4fbc9 100644 --- a/tests/date_shift.json5 +++ b/tests/date_shift.json5 @@ -1,5 +1,6 @@ { "id": "date_shift", + "level": "L2-Date", "experimental": true, "tests": [ { @@ -71,4 +72,4 @@ "returns": "2017-12-31" } ] -} \ No newline at end of file +} diff --git a/tests/dimension_labels.json5 b/tests/dimension_labels.json5 index dd8cb14b..2908c443 100644 --- a/tests/dimension_labels.json5 +++ b/tests/dimension_labels.json5 @@ -1,4 +1,5 @@ { "id": "dimension_labels", + "level": "L2", "tests": [] -} \ No newline at end of file +} diff --git a/tests/divide.json5 b/tests/divide.json5 index 6f453702..fa0c597a 100644 --- a/tests/divide.json5 +++ b/tests/divide.json5 @@ -1,5 +1,6 @@ { "id": "divide", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/drop_dimension.json5 b/tests/drop_dimension.json5 index 854ef251..36eb81c6 100644 --- a/tests/drop_dimension.json5 +++ b/tests/drop_dimension.json5 @@ -1,4 +1,5 @@ { "id": "drop_dimension", + "level": "L2", "tests": [] -} \ No newline at end of file +} diff --git a/tests/e.json5 b/tests/e.json5 index 182fe4c2..5921aa4a 100644 --- a/tests/e.json5 +++ b/tests/e.json5 @@ -1,9 +1,10 @@ { "id": "e", + "level": "L1", "tests": [ { "arguments": {}, "returns": 2.718281828459 } ] -} \ No newline at end of file +} diff --git a/tests/eq.json5 b/tests/eq.json5 index 50898f5f..a3fa8828 100644 --- a/tests/eq.json5 +++ b/tests/eq.json5 @@ -1,5 +1,6 @@ { "id": "eq", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/exp.json5 b/tests/exp.json5 index 2f9c8ba0..cad8d87f 100644 --- a/tests/exp.json5 +++ b/tests/exp.json5 @@ -1,5 +1,6 @@ { "id": "exp", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/extrema.json5 b/tests/extrema.json5 index c91992e1..4ef7a2ed 100644 --- a/tests/extrema.json5 +++ b/tests/extrema.json5 @@ -1,5 +1,6 @@ { "id": "extrema", + "level": "L2", "tests": [ { "arguments": { diff --git a/tests/filter_bands.json5 b/tests/filter_bands.json5 index 691a400d..c9e42b84 100644 --- a/tests/filter_bands.json5 +++ b/tests/filter_bands.json5 @@ -1,4 +1,5 @@ { "id": "filter_bands", + "level": "L2A", "tests": [] -} \ No newline at end of file +} diff --git a/tests/filter_bbox.json5 b/tests/filter_bbox.json5 index f131ab85..468859bf 100644 --- a/tests/filter_bbox.json5 +++ b/tests/filter_bbox.json5 @@ -1,4 +1,5 @@ { "id": "filter_bbox", + "level": "L2", "tests": [] -} \ No newline at end of file +} diff --git a/tests/filter_labels.json5 b/tests/filter_labels.json5 new file mode 100644 index 00000000..c220ec20 --- /dev/null +++ b/tests/filter_labels.json5 @@ -0,0 +1,5 @@ +{ + "id": "filter_labels", + "level": "L3", + "tests": [] +} diff --git a/tests/filter_spatial.json5 b/tests/filter_spatial.json5 index 60473628..a6853c5f 100644 --- a/tests/filter_spatial.json5 +++ b/tests/filter_spatial.json5 @@ -1,4 +1,5 @@ { "id": "filter_spatial", + "level": "L2A", "tests": [] -} \ No newline at end of file +} diff --git a/tests/filter_temporal.json5 b/tests/filter_temporal.json5 index 3dcc40d4..fcf0c8a7 100644 --- a/tests/filter_temporal.json5 +++ b/tests/filter_temporal.json5 @@ -1,4 +1,5 @@ { "id": "filter_temporal", + "level": "L2", "tests": [] -} \ No newline at end of file +} diff --git a/tests/filter_vector.json5 b/tests/filter_vector.json5 new file mode 100644 index 00000000..8c2f5e33 --- /dev/null +++ b/tests/filter_vector.json5 @@ -0,0 +1,5 @@ +{ + "id": "filter_vector", + "level": "L2B", + "tests": [] +} diff --git a/tests/first.json5 b/tests/first.json5 index 81209141..db301e36 100644 --- a/tests/first.json5 +++ b/tests/first.json5 @@ -1,5 +1,6 @@ { "id": "first", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/flatten_dimensions.json5 b/tests/flatten_dimensions.json5 new file mode 100644 index 00000000..b33f5ef5 --- /dev/null +++ b/tests/flatten_dimensions.json5 @@ -0,0 +1,5 @@ +{ + "id": "flatten_dimensions", + "level": "L3", + "tests": [] +} diff --git a/tests/floor.json5 b/tests/floor.json5 index ee55c139..997d8990 100644 --- a/tests/floor.json5 +++ b/tests/floor.json5 @@ -1,5 +1,6 @@ { "id": "floor", + "level": "L1", "tests": [ { "arguments": { @@ -62,4 +63,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/gt.json5 b/tests/gt.json5 index 651401e5..db40afc6 100644 --- a/tests/gt.json5 +++ b/tests/gt.json5 @@ -1,5 +1,6 @@ { "id": "gt", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/gte.json5 b/tests/gte.json5 index 34f58a1c..aa82d7bd 100644 --- a/tests/gte.json5 +++ b/tests/gte.json5 @@ -1,5 +1,6 @@ { "id": "gte", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/if.json5 b/tests/if.json5 index c71bf659..122b7a17 100644 --- a/tests/if.json5 +++ b/tests/if.json5 @@ -1,5 +1,6 @@ { "id": "if", + "level": "L2", "tests": [ { "arguments": { @@ -52,4 +53,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/inspect.json5 b/tests/inspect.json5 new file mode 100644 index 00000000..0cac530b --- /dev/null +++ b/tests/inspect.json5 @@ -0,0 +1,5 @@ +{ + "id": "inspect", + "level": "L2", + "tests": [] +} diff --git a/tests/int.json5 b/tests/int.json5 index 2129fc92..879aa5ee 100644 --- a/tests/int.json5 +++ b/tests/int.json5 @@ -1,5 +1,6 @@ { "id": "int", + "level": "L1", "tests": [ { "arguments": { @@ -89,4 +90,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/is_infinite.json5 b/tests/is_infinite.json5 index 73cbb061..936234bd 100644 --- a/tests/is_infinite.json5 +++ b/tests/is_infinite.json5 @@ -1,5 +1,6 @@ { "id": "is_infinite", + "level": "L3", "experimental": true, "tests": [ { @@ -135,4 +136,4 @@ "returns": false } ] -} \ No newline at end of file +} diff --git a/tests/is_nan.json5 b/tests/is_nan.json5 index 3ac7c83f..e130c521 100644 --- a/tests/is_nan.json5 +++ b/tests/is_nan.json5 @@ -1,5 +1,6 @@ { "id": "is_nan", + "level": "L2", "tests": [ { "arguments": { @@ -86,4 +87,4 @@ "returns": true } ] -} \ No newline at end of file +} diff --git a/tests/is_nodata.json5 b/tests/is_nodata.json5 index 0dddc9ed..206852cd 100644 --- a/tests/is_nodata.json5 +++ b/tests/is_nodata.json5 @@ -1,5 +1,6 @@ { "id": "is_nodata", + "level": "L2", // We can't check for other no-data values than `null` // as it depends on the data cube / metadata / context, which can't influence "tests": [ @@ -33,4 +34,4 @@ "returns": false } ] -} \ No newline at end of file +} diff --git a/tests/is_valid.json5 b/tests/is_valid.json5 index e772f921..2652076d 100644 --- a/tests/is_valid.json5 +++ b/tests/is_valid.json5 @@ -1,5 +1,6 @@ { "id": "is_valid", + "level": "L2", "tests": [ { "arguments": { @@ -29,4 +30,4 @@ "returns": true } ] -} \ No newline at end of file +} diff --git a/tests/last.json5 b/tests/last.json5 index feca8803..b1a9623c 100644 --- a/tests/last.json5 +++ b/tests/last.json5 @@ -1,5 +1,6 @@ { "id": "last", + "level": "L1", "tests": [ { "arguments": { @@ -72,4 +73,4 @@ "returns": NaN } ] -} \ No newline at end of file +} diff --git a/tests/linear_scale_range.json5 b/tests/linear_scale_range.json5 index 019468a2..03009d0e 100644 --- a/tests/linear_scale_range.json5 +++ b/tests/linear_scale_range.json5 @@ -1,5 +1,6 @@ { "id": "linear_scale_range", + "level": "L2", "tests": [ { "arguments": { diff --git a/tests/ln.json5 b/tests/ln.json5 index 883cd589..4a5c03f5 100644 --- a/tests/ln.json5 +++ b/tests/ln.json5 @@ -1,5 +1,6 @@ { "id": "ln", + "level": "L1", "tests": [ { "arguments": { @@ -63,4 +64,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/load_collection.json5 b/tests/load_collection.json5 new file mode 100644 index 00000000..642cfa4e --- /dev/null +++ b/tests/load_collection.json5 @@ -0,0 +1,5 @@ +{ + "id": "load_collection", + "level": "L1", + "tests": [] +} diff --git a/tests/load_geojson.json5 b/tests/load_geojson.json5 new file mode 100644 index 00000000..4ac4e72d --- /dev/null +++ b/tests/load_geojson.json5 @@ -0,0 +1,5 @@ +{ + "id": "load_geojson", + "level": "L3", + "tests": [] +} diff --git a/tests/load_stac.json5 b/tests/load_stac.json5 new file mode 100644 index 00000000..2306883a --- /dev/null +++ b/tests/load_stac.json5 @@ -0,0 +1,5 @@ +{ + "id": "load_stac", + "level": "L3", + "tests": [] +} diff --git a/tests/load_url.json5 b/tests/load_url.json5 new file mode 100644 index 00000000..9a1f5acd --- /dev/null +++ b/tests/load_url.json5 @@ -0,0 +1,5 @@ +{ + "id": "load_url", + "level": "L3", + "tests": [] +} diff --git a/tests/log.json5 b/tests/log.json5 index e3bb242d..23e00e78 100644 --- a/tests/log.json5 +++ b/tests/log.json5 @@ -1,5 +1,6 @@ { "id": "log", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/lt.json5 b/tests/lt.json5 index a3601197..d19efaa5 100644 --- a/tests/lt.json5 +++ b/tests/lt.json5 @@ -1,5 +1,6 @@ { "id": "lt", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/lte.json5 b/tests/lte.json5 index b5f920c5..ecf35492 100644 --- a/tests/lte.json5 +++ b/tests/lte.json5 @@ -1,5 +1,6 @@ { "id": "lte", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/mask.json5 b/tests/mask.json5 index 27ba31e5..f970670d 100644 --- a/tests/mask.json5 +++ b/tests/mask.json5 @@ -1,4 +1,5 @@ { "id": "mask", + "level": "L2A", "tests": [] -} \ No newline at end of file +} diff --git a/tests/mask_polygon.json5 b/tests/mask_polygon.json5 index 1647594c..b730adb0 100644 --- a/tests/mask_polygon.json5 +++ b/tests/mask_polygon.json5 @@ -1,4 +1,5 @@ { "id": "mask_polygon", + "level": "L2A", "tests": [] -} \ No newline at end of file +} diff --git a/tests/max.json5 b/tests/max.json5 index caf98b5d..04b766d4 100644 --- a/tests/max.json5 +++ b/tests/max.json5 @@ -1,5 +1,6 @@ { "id": "max", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/mean.json5 b/tests/mean.json5 index 88a1cd5e..625d9e47 100644 --- a/tests/mean.json5 +++ b/tests/mean.json5 @@ -1,5 +1,6 @@ { "id": "mean", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/median.json5 b/tests/median.json5 index 7ecadbca..8aa3ba9c 100644 --- a/tests/median.json5 +++ b/tests/median.json5 @@ -1,5 +1,6 @@ { "id": "median", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/merge_cubes.json5 b/tests/merge_cubes.json5 index b23c4c2f..eda1edb8 100644 --- a/tests/merge_cubes.json5 +++ b/tests/merge_cubes.json5 @@ -1,4 +1,5 @@ { "id": "merge_cubes", + "level": "L3", "tests": [] -} \ No newline at end of file +} diff --git a/tests/min.json5 b/tests/min.json5 index 0e193b16..3f246378 100644 --- a/tests/min.json5 +++ b/tests/min.json5 @@ -1,5 +1,6 @@ { "id": "min", + "level": "L1", "tests": [ { "arguments": { @@ -87,4 +88,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/mod.json5 b/tests/mod.json5 index b9152234..9a9823d3 100644 --- a/tests/mod.json5 +++ b/tests/mod.json5 @@ -1,5 +1,6 @@ { "id": "mod", + "level": "L1", "tests": [ { "arguments": { @@ -166,4 +167,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/multiply.json5 b/tests/multiply.json5 index 0e010cc4..96606394 100644 --- a/tests/multiply.json5 +++ b/tests/multiply.json5 @@ -1,5 +1,6 @@ { "id": "multiply", + "level": "L1", "tests": [ { "arguments": { @@ -163,4 +164,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/nan.json5 b/tests/nan.json5 index eacfd111..bdaca0d0 100644 --- a/tests/nan.json5 +++ b/tests/nan.json5 @@ -1,5 +1,6 @@ { "id": "nan", + "level": "L2", "experimental": true, "tests": [ { @@ -7,4 +8,4 @@ "returns": NaN } ] -} \ No newline at end of file +} diff --git a/tests/ndvi.json5 b/tests/ndvi.json5 index d57003ae..4e207686 100644 --- a/tests/ndvi.json5 +++ b/tests/ndvi.json5 @@ -1,4 +1,5 @@ { "id": "ndvi", + "level": "L3", "tests": [] -} \ No newline at end of file +} diff --git a/tests/neq.json5 b/tests/neq.json5 index dd837847..d0dd1c60 100644 --- a/tests/neq.json5 +++ b/tests/neq.json5 @@ -1,5 +1,6 @@ { "id": "neq", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/normalized_difference.json5 b/tests/normalized_difference.json5 index bb081483..34ced543 100644 --- a/tests/normalized_difference.json5 +++ b/tests/normalized_difference.json5 @@ -1,5 +1,6 @@ { "id": "normalized_difference", + "level": "L2", "tests": [ { "arguments": { @@ -58,4 +59,4 @@ "returns": -0.30769230769 } ] -} \ No newline at end of file +} diff --git a/tests/not.json5 b/tests/not.json5 index 37639697..563e9556 100644 --- a/tests/not.json5 +++ b/tests/not.json5 @@ -1,5 +1,6 @@ { "id": "not", + "level": "L1", "tests": [ { "arguments": { @@ -20,4 +21,4 @@ "returns": false } ] -} \ No newline at end of file +} diff --git a/tests/or.json5 b/tests/or.json5 index 1ea969e4..f029e13b 100644 --- a/tests/or.json5 +++ b/tests/or.json5 @@ -1,5 +1,6 @@ { "id": "or", + "level": "L1", "tests": [ { "arguments": { @@ -65,4 +66,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/order.json5 b/tests/order.json5 index 6d570fa9..0d1dfde9 100644 --- a/tests/order.json5 +++ b/tests/order.json5 @@ -1,5 +1,6 @@ { "id": "order", + "level": "L3", "tests": [ { "arguments": { @@ -125,4 +126,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/tests/pi.json5 b/tests/pi.json5 index 1fb335df..c889691d 100644 --- a/tests/pi.json5 +++ b/tests/pi.json5 @@ -1,9 +1,10 @@ { "id": "pi", + "level": "L1", "tests": [ { "arguments": {}, "returns": 3.14159265359 } ] -} \ No newline at end of file +} diff --git a/tests/power.json5 b/tests/power.json5 index 102b2fa4..4615f538 100644 --- a/tests/power.json5 +++ b/tests/power.json5 @@ -1,5 +1,6 @@ { "id": "power", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/product.json5 b/tests/product.json5 index d97bd5f6..5c08af5b 100644 --- a/tests/product.json5 +++ b/tests/product.json5 @@ -1,5 +1,6 @@ { "id": "product", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/quantiles.json5 b/tests/quantiles.json5 index a0e8111b..e6ffcc51 100644 --- a/tests/quantiles.json5 +++ b/tests/quantiles.json5 @@ -1,5 +1,6 @@ { "id": "quantiles", + "level": "L1", "tests": [ { "arguments": { @@ -76,7 +77,7 @@ 0.8125, 3.625, Infinity, - Infinity + Infinity ] }, { @@ -100,7 +101,7 @@ -Infinity, 0.125, 2.5625, - 5.75 + 5.75 ] }, { diff --git a/tests/rearrange.json5 b/tests/rearrange.json5 index 931aef59..ba2b6f58 100644 --- a/tests/rearrange.json5 +++ b/tests/rearrange.json5 @@ -1,5 +1,6 @@ { "id": "rearrange", + "level": "L3", "tests": [ { // Reverse a list diff --git a/tests/reduce_dimension.json5 b/tests/reduce_dimension.json5 index 1f1b9924..5e6f331e 100644 --- a/tests/reduce_dimension.json5 +++ b/tests/reduce_dimension.json5 @@ -1,4 +1,5 @@ { "id": "reduce_dimension", + "level": "L1", "tests": [] -} \ No newline at end of file +} diff --git a/tests/reduce_spatial.json5 b/tests/reduce_spatial.json5 new file mode 100644 index 00000000..19ae7ae6 --- /dev/null +++ b/tests/reduce_spatial.json5 @@ -0,0 +1,5 @@ +{ + "id": "reduce_spatial", + "level": "L3", + "tests": [] +} diff --git a/tests/rename_dimension.json5 b/tests/rename_dimension.json5 index de2bc77f..402cd245 100644 --- a/tests/rename_dimension.json5 +++ b/tests/rename_dimension.json5 @@ -1,4 +1,5 @@ { "id": "rename_dimension", + "level": "L2", "tests": [] -} \ No newline at end of file +} diff --git a/tests/rename_labels.json5 b/tests/rename_labels.json5 index d1c11d7d..82deb687 100644 --- a/tests/rename_labels.json5 +++ b/tests/rename_labels.json5 @@ -1,5 +1,6 @@ { "id": "rename_labels", + "level": "L2", "tests": [ { // Rename named labels: diff --git a/tests/resample_cube_spatial.json5 b/tests/resample_cube_spatial.json5 index ef96a5ea..739ab67f 100644 --- a/tests/resample_cube_spatial.json5 +++ b/tests/resample_cube_spatial.json5 @@ -1,4 +1,5 @@ { "id": "resample_cube_spatial", + "level": "L3", "tests": [] -} \ No newline at end of file +} diff --git a/tests/resample_cube_temporal.json5 b/tests/resample_cube_temporal.json5 index ea626a51..ed824518 100644 --- a/tests/resample_cube_temporal.json5 +++ b/tests/resample_cube_temporal.json5 @@ -1,4 +1,5 @@ { "id": "resample_cube_temporal", + "level": "L3", "tests": [] -} \ No newline at end of file +} diff --git a/tests/resample_spatial.json5 b/tests/resample_spatial.json5 index f6d8711d..d50a04cd 100644 --- a/tests/resample_spatial.json5 +++ b/tests/resample_spatial.json5 @@ -1,4 +1,5 @@ { "id": "resample_spatial", + "level": "L2A", "tests": [] -} \ No newline at end of file +} diff --git a/tests/round.json5 b/tests/round.json5 index 0f63d138..0f0b6ff2 100644 --- a/tests/round.json5 +++ b/tests/round.json5 @@ -1,5 +1,6 @@ { "id": "round", + "level": "L1", "tests": [ { "arguments": { @@ -79,4 +80,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/save_result.json5 b/tests/save_result.json5 new file mode 100644 index 00000000..e312abaf --- /dev/null +++ b/tests/save_result.json5 @@ -0,0 +1,5 @@ +{ + "id": "save_result", + "level": "L1", + "tests": [] +} diff --git a/tests/sd.json5 b/tests/sd.json5 index 69c19729..8dce5e9c 100644 --- a/tests/sd.json5 +++ b/tests/sd.json5 @@ -1,5 +1,6 @@ { "id": "sd", + "level": "L1", "tests": [ { "arguments": { @@ -80,4 +81,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/sgn.json5 b/tests/sgn.json5 index cc5960e6..026ae03b 100644 --- a/tests/sgn.json5 +++ b/tests/sgn.json5 @@ -1,5 +1,6 @@ { "id": "sgn", + "level": "L1", "tests": [ { "arguments": { @@ -44,4 +45,4 @@ "returns": -1 }, ] -} \ No newline at end of file +} diff --git a/tests/sin.json5 b/tests/sin.json5 index b31fa527..0103bcb2 100644 --- a/tests/sin.json5 +++ b/tests/sin.json5 @@ -1,5 +1,6 @@ { "id": "sin", + "level": "L1", "tests": [ { "arguments": { @@ -50,4 +51,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/sinh.json5 b/tests/sinh.json5 index 3ef0280f..f0a643a5 100644 --- a/tests/sinh.json5 +++ b/tests/sinh.json5 @@ -1,5 +1,6 @@ { "id": "sinh", + "level": "L2", "tests": [ { "arguments": { diff --git a/tests/sort.json5 b/tests/sort.json5 index b4aa6a3d..a8d86a52 100644 --- a/tests/sort.json5 +++ b/tests/sort.json5 @@ -1,5 +1,6 @@ { "id": "sort", + "level": "L2", "tests": [ { "arguments": { @@ -62,4 +63,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/tests/sqrt.json5 b/tests/sqrt.json5 index 24863efa..c8f81358 100644 --- a/tests/sqrt.json5 +++ b/tests/sqrt.json5 @@ -1,5 +1,6 @@ { "id": "sqrt", + "level": "L1", "tests": [ { "arguments": { @@ -50,4 +51,4 @@ "returns": NaN }, ] -} \ No newline at end of file +} diff --git a/tests/subtract.json5 b/tests/subtract.json5 index 79317e42..6eb9485a 100644 --- a/tests/subtract.json5 +++ b/tests/subtract.json5 @@ -1,5 +1,6 @@ { "id": "subtract", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/sum.json5 b/tests/sum.json5 index 3864e404..2054f87d 100644 --- a/tests/sum.json5 +++ b/tests/sum.json5 @@ -1,5 +1,6 @@ { "id": "sum", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/tan.json5 b/tests/tan.json5 index 26b3dcdd..393f9f24 100644 --- a/tests/tan.json5 +++ b/tests/tan.json5 @@ -1,5 +1,6 @@ { "id": "tan", + "level": "L1", "tests": [ { "arguments": { diff --git a/tests/tanh.json5 b/tests/tanh.json5 index 9f38c017..44601862 100644 --- a/tests/tanh.json5 +++ b/tests/tanh.json5 @@ -1,5 +1,6 @@ { "id": "tanh", + "level": "L2", "tests": [ { "arguments": { @@ -50,4 +51,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/text_begins.json5 b/tests/text_begins.json5 index 6eac0203..b0cffdd9 100644 --- a/tests/text_begins.json5 +++ b/tests/text_begins.json5 @@ -1,5 +1,6 @@ { "id": "text_begins", + "level": "L2-Text", "tests": [ { "arguments": { @@ -46,4 +47,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/text_concat.json5 b/tests/text_concat.json5 index 08d926b9..456e4ff3 100644 --- a/tests/text_concat.json5 +++ b/tests/text_concat.json5 @@ -1,5 +1,6 @@ { "id": "text_concat", + "level": "L2-Text", "tests": [ { "arguments": { @@ -59,4 +60,4 @@ "returns": "" } ] -} \ No newline at end of file +} diff --git a/tests/text_contains.json5 b/tests/text_contains.json5 index 751bf917..db5dbc09 100644 --- a/tests/text_contains.json5 +++ b/tests/text_contains.json5 @@ -1,5 +1,6 @@ { "id": "text_contains", + "level": "L2-Text", "tests": [ { "arguments": { @@ -46,4 +47,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/text_ends.json5 b/tests/text_ends.json5 index d1803c9e..5a0f6933 100644 --- a/tests/text_ends.json5 +++ b/tests/text_ends.json5 @@ -1,5 +1,6 @@ { "id": "text_ends", + "level": "L2-Text", "tests": [ { "arguments": { @@ -46,4 +47,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/trim_cube.json5 b/tests/trim_cube.json5 index 49f342d7..0bcc6627 100644 --- a/tests/trim_cube.json5 +++ b/tests/trim_cube.json5 @@ -1,4 +1,5 @@ { "id": "trim_cube", + "level": "L3", "tests": [] -} \ No newline at end of file +} diff --git a/tests/unflatten_dimensions.json5 b/tests/unflatten_dimensions.json5 new file mode 100644 index 00000000..cdfed772 --- /dev/null +++ b/tests/unflatten_dimensions.json5 @@ -0,0 +1,5 @@ +{ + "id": "unflatten_dimensions", + "level": "L3", + "tests": [] +} diff --git a/tests/variance.json5 b/tests/variance.json5 index 8eb963ae..17ab2812 100644 --- a/tests/variance.json5 +++ b/tests/variance.json5 @@ -1,5 +1,6 @@ { "id": "variance", + "level": "L1", "tests": [ { "arguments": { @@ -93,4 +94,4 @@ "returns": null } ] -} \ No newline at end of file +} diff --git a/tests/vector_buffer.json5 b/tests/vector_buffer.json5 new file mode 100644 index 00000000..941d4d02 --- /dev/null +++ b/tests/vector_buffer.json5 @@ -0,0 +1,5 @@ +{ + "id": "vector_buffer", + "level": "L2B", + "tests": [] +} diff --git a/tests/vector_reproject.json5 b/tests/vector_reproject.json5 new file mode 100644 index 00000000..31373246 --- /dev/null +++ b/tests/vector_reproject.json5 @@ -0,0 +1,5 @@ +{ + "id": "vector_reproject", + "level": "L2B", + "tests": [] +} diff --git a/tests/vector_to_random_points.json5 b/tests/vector_to_random_points.json5 new file mode 100644 index 00000000..8fbf1507 --- /dev/null +++ b/tests/vector_to_random_points.json5 @@ -0,0 +1,5 @@ +{ + "id": "vector_reproject", + "level": "L3", + "tests": [] +} diff --git a/tests/vector_to_regular_points.json5 b/tests/vector_to_regular_points.json5 new file mode 100644 index 00000000..8fbf1507 --- /dev/null +++ b/tests/vector_to_regular_points.json5 @@ -0,0 +1,5 @@ +{ + "id": "vector_reproject", + "level": "L3", + "tests": [] +} diff --git a/tests/xor.json5 b/tests/xor.json5 index 63ca5b84..b4cba17d 100644 --- a/tests/xor.json5 +++ b/tests/xor.json5 @@ -1,5 +1,6 @@ { "id": "xor", + "level": "L2", "tests": [ { "arguments": { @@ -65,4 +66,4 @@ "returns": null } ] -} \ No newline at end of file +}