This commit is contained in:
agomizi1cm committed 2026-08-09 21:41:44 +09:00
commit c5bcb95d74
172 files changed
+9487

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
import pytest
pytest.importorskip("PySide6")
np=pytest.importorskip("numpy")
from src.gui.video_widget import bgr_to_rgb
def test_bgr_to_rgb()->None:
value=np.array([[[1,2,3]]],dtype=np.uint8);assert bgr_to_rgb(value).tolist()==[[[3,2,1]]]