From c23b54e12efbf18e857d8d42bdf8d9e52c556f82 Mon Sep 17 00:00:00 2001 From: ashmeigh Date: Mon, 26 Feb 2024 13:08:02 +0000 Subject: [PATCH] added clip coords test --- scripts/operations_tests/test_cases.json | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/scripts/operations_tests/test_cases.json b/scripts/operations_tests/test_cases.json index 53ba438d64c..8f438b2d510 100644 --- a/scripts/operations_tests/test_cases.json +++ b/scripts/operations_tests/test_cases.json @@ -58,7 +58,7 @@ "params": { "mult_val": 3 }, - "source_date": "flower512" + "source_data": "flower512" } ] }, @@ -220,7 +220,7 @@ } ] }, - "Ring Removal": { + "Ring Removal": { "params": {"center_mode": "image center"}, "source_data": "flower128", "cases": [ @@ -235,5 +235,20 @@ } } ] + }, + "Clip Values": { + "params": {}, + "source_data": "flower128", + "cases": [ + { + "test_name": "clip_values_0_to_50", + "params": { + "clip_min": 0, + "clip_max": 50, + "clip_min_new_value": 0, + "clip_max_new_value": 50 + } + } + ] } }