code cleansing, related to #2

This commit is contained in:
2025-10-23 10:31:00 +02:00
parent a9f9ffc5e7
commit 9dc7b4f6ff
2 changed files with 7 additions and 66 deletions

View File

@@ -10,28 +10,6 @@ import dopt_sensor_anomalies.detection as detect
import dopt_sensor_anomalies.types as t
from dopt_sensor_anomalies import constants, errors
# TODO remove
# @pytest.fixture(scope="module")
# def img_paths() -> tuple[Path, ...]:
# img_folder = Path(__file__).parent / "_img"
# if not img_folder.exists():
# raise FileNotFoundError("Img path not existing")
# img_paths = tuple(img_folder.glob("*.bmp"))
# if not img_paths:
# raise ValueError("No images found")
# return img_paths
# @pytest.fixture(scope="module")
# def single_img_path() -> Path:
# img_folder = Path(__file__).parent / "_img"
# if not img_folder.exists():
# raise FileNotFoundError("Img path not existing")
# img_paths = tuple(img_folder.glob("*_12.bmp"))
# if not img_paths:
# raise ValueError("No images found")
# return img_paths[0]
def test_midpoint():
ptA = np.array([1.0, 2.0])