Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Sep 24, 2024
1 parent 67eaf01 commit 9c98467
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_masked.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,9 @@ def test_broadcasting(arrays):
np.ma.masked_array([1, 2, 3], mask=[0, 0, 1], dtype=np.float64),
np.ma.masked_array([1, 2]),
np.ma.masked_array(["a", "b"], mask=True),
np.ma.masked_array([1, 2, 3], mask=[[[1]]]),
np.ma.masked_array([1, 2, 3], mask=[[[0]]]),
np.ma.masked_array([[1, 2, 3]], mask=[True, False, True]),
np.ma.masked_array([1.0, 2.0, 3.0], mask=[0, 0, 1]),
],
)
def test_initialization(np_array):
Expand Down

0 comments on commit 9c98467

Please sign in to comment.