We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24d3402 commit d660b2eCopy full SHA for d660b2e
python/evalica/test_evalica.py
@@ -12,6 +12,7 @@
12
from hypothesis.extra._array_helpers import array_shapes
13
from hypothesis.extra.numpy import arrays
14
from hypothesis.extra.pandas import series
15
+from numpy.testing import assert_array_equal
16
from pandas._testing import assert_series_equal
17
18
import evalica
@@ -534,6 +535,8 @@ def test_pairwise_scores(scores: npt.NDArray[np.float64]) -> None:
534
535
assert pairwise.shape == (len(scores), len(scores))
536
assert np.isfinite(pairwise).all()
537
538
+ assert_array_equal(pairwise_pyo3, pairwise_naive)
539
+
540
541
@pytest.mark.parametrize("solver", ["pyo3", "naive"])
542
def test_pairwise_scores_empty(solver: Literal["pyo3", "naive"]) -> None:
0 commit comments