Skip to content

Commit 253c46d

Browse files
committed
Add test for equality mode
1 parent db7db9c commit 253c46d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_cellmapper.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ def test_expression_transfer(self, cmap, expected_expression_transfer_metrics):
3333
cmap.evaluate_expression_transfer(layer_key="X", method="pearson")
3434
assert_metrics_close(cmap.expression_transfer_metrics, expected_expression_transfer_metrics)
3535

36-
@pytest.mark.parametrize("method", ["gaussian", "scarches", "random", "inverse_distance", "jaccard", "hnoca"])
36+
@pytest.mark.parametrize(
37+
"method", ["gaussian", "scarches", "random", "inverse_distance", "jaccard", "hnoca", "equal"]
38+
)
3739
def test_compute_mapping_matrix_all_methods(self, cmap, method):
3840
cmap.compute_mappping_matrix(method=method)
3941
assert cmap.mapping_matrix is not None

0 commit comments

Comments
 (0)