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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user