From 9ff48c7dbad0a46482544362f14d60d7c1f06cfc Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 27 Nov 2024 13:51:19 +0800 Subject: [PATCH] ... --- tests/90_array2d.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/90_array2d.py b/tests/90_array2d.py index 585d7c6e..4b5cbc71 100644 --- a/tests/90_array2d.py +++ b/tests/90_array2d.py @@ -30,9 +30,9 @@ assert not a.is_valid(0, -1) and not a.is_valid(vec2i(0, -1)) # test get assert a.get(0, 0, -1) == (0, 0) -assert a.get(vec2i(1, 3), -1) == (1, 3) -assert a.get(2, 0, None) is None -assert a.get(vec2i(0, 4), 'S') == 'S' +assert a.get(1, 3) == (1, 3) +assert a.get(2, 0) is None +assert a.get(0, 4, 'S') == 'S' # test __getitem__ assert a[0, 0] == (0, 0)