added printability report when generating texture
This commit is contained in:
@@ -169,8 +169,8 @@ def test_defaults_come_from_design_yaml(revision_dir: Path) -> None:
|
||||
assert settings.edge_sample_grid == 5
|
||||
# Pinned in design.yaml so the committed PNG/SVG/PDF set is reproducible.
|
||||
assert settings.seed == 7
|
||||
assert settings.vector_width_mm == pytest.approx(164.0)
|
||||
assert settings.vector_height_mm == pytest.approx(160.0)
|
||||
assert settings.vector_width_mm == pytest.approx(16.4)
|
||||
assert settings.vector_height_mm == pytest.approx(16.0)
|
||||
assert settings.cross_enabled is True
|
||||
assert settings.cross_length_px == 40
|
||||
assert settings.cross_thickness_px == 3
|
||||
@@ -379,8 +379,8 @@ def test_job_round_trips_with_absolute_paths(revision_dir: Path, tmp_path: Path)
|
||||
"cross",
|
||||
}
|
||||
assert job["settings"]["vector"] == {
|
||||
"width_mm": 164.0,
|
||||
"height_mm": 160.0,
|
||||
"width_mm": 16.4,
|
||||
"height_mm": 16.0,
|
||||
}
|
||||
assert set(job["settings"]["cross"]) == {
|
||||
"enabled",
|
||||
|
||||
Reference in New Issue
Block a user