Skip to content

Add tests for quick shift and remove unused functions

Codecov / codecov/patch succeeded Jun 28, 2024 in 1s

95.07% of diff hit (target 90.00%)

View this Pull Request on Codecov

95.07% of diff hit (target 90.00%)

Annotations

Check warning on line 109 in src/skmatter/clustering/_quick_shift.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/skmatter/clustering/_quick_shift.py#L109

Added line #L109 was not covered by tests

Check warning on line 122 in src/skmatter/clustering/_quick_shift.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/skmatter/clustering/_quick_shift.py#L122

Added line #L122 was not covered by tests

Check warning on line 196 in src/skmatter/clustering/_quick_shift.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/skmatter/clustering/_quick_shift.py#L194-L196

Added lines #L194 - L196 were not covered by tests

Check warning on line 200 in src/skmatter/clustering/_quick_shift.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/skmatter/clustering/_quick_shift.py#L199-L200

Added lines #L199 - L200 were not covered by tests

Check warning on line 174 in src/skmatter/metrics/_pairwise.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/skmatter/metrics/_pairwise.py#L174

Added line #L174 was not covered by tests

Check warning on line 162 in src/skmatter/neighbors/_sparsekde.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/skmatter/neighbors/_sparsekde.py#L162

Added line #L162 was not covered by tests

Check warning on line 339 in src/skmatter/neighbors/_sparsekde.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/skmatter/neighbors/_sparsekde.py#L339

Added line #L339 was not covered by tests

Check warning on line 357 in src/skmatter/neighbors/_sparsekde.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/skmatter/neighbors/_sparsekde.py#L356-L357

Added lines #L356 - L357 were not covered by tests

Check warning on line 389 in src/skmatter/neighbors/_sparsekde.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/skmatter/neighbors/_sparsekde.py#L388-L389

Added lines #L388 - L389 were not covered by tests

Check warning on line 393 in src/skmatter/neighbors/_sparsekde.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/skmatter/neighbors/_sparsekde.py#L393

Added line #L393 was not covered by tests

Check warning on line 494 in src/skmatter/neighbors/_sparsekde.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/skmatter/neighbors/_sparsekde.py#L494

Added line #L494 was not covered by tests

Check warning on line 540 in src/skmatter/neighbors/_sparsekde.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/skmatter/neighbors/_sparsekde.py#L540

Added line #L540 was not covered by tests