def test_validate_gt_label_valid_sequence(self) -> None:
        """Test validation of ground truth labels with sequence input."""
        # Test with binary labels (0: normal, 1: anomaly)
        validated_labels = self.validator.validate_gt_label([0, 1, 1, 0])
        assert isinstance(validated_labels, np.ndarray)
        assert validated_labels.dtype == bool
        assert np.array_equal(validated_labels, np.array([False, True, True, False]))
Test validation of ground truth labels with sequence input.
tests/unit/data/validators/numpy/test_image.py