Skip to content

Commit

Permalink
Add snapshot test for gradient_extend scene (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Nov 27, 2024
1 parent 64be9d9 commit 3f19650
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vello_tests/snapshots/gradient_extend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions vello_tests/tests/snapshot_test_scenes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ fn snapshot_deep_blend() {
snapshot_test_scene(test_scene, params);
}

#[test]
#[cfg_attr(skip_gpu_tests, ignore)]
fn snapshot_gradient_extend() {
let test_scene = test_scenes::gradient_extend();
let params = TestParams::new("gradient_extend", 200, 200);
snapshot_test_scene(test_scene, params);
}

#[test]
#[cfg_attr(skip_gpu_tests, ignore)]
fn snapshot_many_clips() {
Expand Down

0 comments on commit 3f19650

Please sign in to comment.