mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
* implemented threshold for number of pixel value errors * fix implementation, throw proper warning * added test for pixel value error threshold * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove forgotten debug print * introduce constants for frame_comparison tolerance * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * rename constant Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
11 lines
281 B
Python
11 lines
281 B
Python
from __future__ import annotations
|
|
|
|
from manim.utils.testing.frames_comparison import frames_comparison
|
|
|
|
__module_test__ = "utils"
|
|
|
|
|
|
@frames_comparison
|
|
def test_pixel_error_threshold(scene):
|
|
"""Scene produces black frame, control data has 11 modified pixel values."""
|
|
pass
|