Skip to content

Commit

Permalink
fix assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Jan 13, 2025
1 parent 5cdde0d commit 84b24c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ def test_read_s4_matrix_dgc_with_rownames():

assert array is not None
assert isinstance(array, MatrixWrapper)
assert len(array.dimnames[0]) = 100
assert len(array.dimnames[0]) == 100


def test_read_s4_matrix_dgc_with_bothnames():
array = read_rds("tests/data/matrix_with_dim_names.rds")

assert array is not None
assert isinstance(array, MatrixWrapper)
assert len(array.dimnames[0]) = 100
assert len(array.dimnames[0]) = 10
assert len(array.dimnames[0]) == 100
assert len(array.dimnames[0]) == 10

def test_read_s4_matrix_dgt():
array = read_rds("tests/data/s4_matrix_dgt.rds")
Expand Down

0 comments on commit 84b24c4

Please sign in to comment.