fix: pass mode="binary" explicitly in test_values_are_binary

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
EthanfelandClaude Opus 4.6 committed 2026-02-25 16:38:30 +01:00
1 parent cd00843b2e
commit b3cfd507b8
1 file changed
+1 -1
+1 -1
View File
@@ -89,7 +89,7 @@ def test_values_are_binary():
node = GenerateSeamMask() node = GenerateSeamMask()
result = node.generate(image_width=2048, image_height=2048, result = node.generate(image_width=2048, image_height=2048,
tile_width=1024, tile_height=1024, tile_width=1024, tile_height=1024,
overlap=128, seam_width=64) overlap=128, seam_width=64, mode="binary")
mask = result[0] mask = result[0]
unique = mask.unique() unique = mask.unique()
assert len(unique) <= 2, f"Mask should only contain 0.0 and 1.0, got {unique}" assert len(unique) <= 2, f"Mask should only contain 0.0 and 1.0, got {unique}"