From 978632c6041403eeb4e8b589e14d0cf36892b3be Mon Sep 17 00:00:00 2001 From: Evgeny Tsykunov Date: Thu, 1 Aug 2024 22:03:13 +0900 Subject: [PATCH] test quality preset --- tests/unit/methods/black_box/test_black_box_method.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/unit/methods/black_box/test_black_box_method.py b/tests/unit/methods/black_box/test_black_box_method.py index 15e569f6..32c5504e 100644 --- a/tests/unit/methods/black_box/test_black_box_method.py +++ b/tests/unit/methods/black_box/test_black_box_method.py @@ -136,4 +136,9 @@ def test_preset(self, fxt_data_root: Path): toc = time.time() time_balance = toc - tic - assert time_speed < time_balance + tic = time.time() + self._generate_with_preset(method, Preset.QUALITY) + toc = time.time() + time_quality = toc - tic + + assert time_speed < time_balance < time_quality