Skip to content

Commit

Permalink
Change longpath test image size to include artifact
Browse files Browse the repository at this point in the history
Also tweak threshold so it catches the failure.
  • Loading branch information
raphlinus committed Oct 2, 2024
1 parent a0af67e commit 8853b28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vello_tests/snapshots/longpathdash_butt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions vello_tests/tests/snapshot_test_scenes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fn snapshot_test_scene(test_scene: ExampleScene, mut params: TestParams) {
let scene = encode_test_scene(test_scene, &mut params);
snapshot_test_sync(scene, &params)
.unwrap()
.assert_mean_less_than(0.01);
.assert_mean_less_than(0.007);
}

#[test]
Expand Down Expand Up @@ -102,6 +102,6 @@ fn snapshot_blurred_rounded_rect() {
#[cfg_attr(skip_gpu_tests, ignore)]
fn snapshot_longpathdash_butt() {
let test_scene = test_scenes::longpathdash_butt();
let params = TestParams::new("longpathdash_butt", 250, 250);
let params = TestParams::new("longpathdash_butt", 500, 100);
snapshot_test_scene(test_scene, params);
}

0 comments on commit 8853b28

Please sign in to comment.