add path-from-bytes test

Also `array.array("f", [0, 1]) == array.array("f", [0.0, 1.0])` so we didn't need both of them.
This commit is contained in:
Yay295 2023-01-25 08:13:40 -06:00 committed by GitHub
parent e8307d7406
commit 4e8de9ac9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ def test_path():
((0.0, 1.0),), ((0.0, 1.0),),
[(0.0, 1.0)], [(0.0, 1.0)],
array.array("f", [0, 1]), array.array("f", [0, 1]),
array.array("f", [0.0, 1.0]), array.array("f", [0, 1]).tobytes(),
ImagePath.Path((0, 1)), ImagePath.Path((0, 1)),
), ),
) )