Name the generator Random Stroke Pattern

Align the Blender script and documentation with the stroke geometry. Verify the existing CLI output is byte-identical and the focused tests pass.
This commit is contained in:
ykcheungab
2026-10-03 20:54:19 +08:00
parent 59f48d6d06
commit 6b0694d6cb
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ def test_binary_preview_uses_job_and_preserves_colour_source(tmp_path, monkeypat
monkeypatch.setattr(cli, "_run_blender_script", run_blender)
assert cli.cmd_binary_preview(REVISION, _args(job_path, output_dir)) == 0
assert colour.read_bytes() == b"original colour"
assert calls[0][0] == "binary_pattern_from_color.py"
assert calls[0][0] == "random_stroke_pattern.py"
assert "--camera-width-fraction" in calls[0][2]
assert cli.cmd_binary_preview(REVISION, _args(job_path, output_dir)) == 2
assert len(calls) == 1