Skip to content

Commit

Permalink
Cover all test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
kounelisagis committed Feb 4, 2025
1 parent 59d95dc commit 7179a13
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tiledb/tests/test_fixes.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,14 +357,17 @@ def test_sc56611(self):
@pytest.mark.parametrize(
"array_data",
[
np.array([b"", b"1", b"", b"", b"f", b""], dtype="S"),
np.array([b"", b"1", b"", b"", b"f", b"3"], dtype="S"),
np.array([b"", b"testing", b"", b"with empty", b"bytes"], dtype="S"),
np.array([b"and", b"", b"again"], dtype="S"),
np.array(
[b"", b"and with", b"the last one", b"", b"emtpy", b""], dtype="S"
),
],
)
def test_sc62594_buffer_resize(self, array_data):
uri = self.path("test_agis")
dom = tiledb.Domain(
tiledb.Dim(name="dim", domain=(0, 5), tile=2, dtype=np.int64),
tiledb.Dim(name="dim", domain=(0, len(array_data) - 1), dtype=np.int64)
)

schema = tiledb.ArraySchema(
Expand Down

0 comments on commit 7179a13

Please sign in to comment.