Skip to content

test: add error handling test for `find_batch_size()` and improve mod…

Codecov / codecov/patch failed Nov 19, 2024 in 1s

42.85% of diff hit (target 64.94%)

View this Pull Request on Codecov

42.85% of diff hit (target 64.94%)

Annotations

Check warning on line 171 in plantseg/functionals/prediction/utils/size_finder.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plantseg/functionals/prediction/utils/size_finder.py#L171

Added line #L171 was not covered by tests

Check warning on line 175 in plantseg/functionals/prediction/utils/size_finder.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plantseg/functionals/prediction/utils/size_finder.py#L175

Added line #L175 was not covered by tests

Check warning on line 179 in plantseg/functionals/prediction/utils/size_finder.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plantseg/functionals/prediction/utils/size_finder.py#L178-L179

Added lines #L178 - L179 were not covered by tests

Check warning on line 60 in tests/functionals/prediction/test_size_finder.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

tests/functionals/prediction/test_size_finder.py#L60

Added line #L60 was not covered by tests

Check warning on line 73 in tests/functionals/prediction/test_size_finder.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

tests/functionals/prediction/test_size_finder.py#L71-L73

Added lines #L71 - L73 were not covered by tests