From 3f19650c58222ea9d4b54154bf54bedb4d4a9ef2 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Wed, 27 Nov 2024 22:11:04 +0700 Subject: [PATCH] Add snapshot test for gradient_extend scene (#746) --- vello_tests/snapshots/gradient_extend.png | 3 +++ vello_tests/tests/snapshot_test_scenes.rs | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 vello_tests/snapshots/gradient_extend.png diff --git a/vello_tests/snapshots/gradient_extend.png b/vello_tests/snapshots/gradient_extend.png new file mode 100644 index 000000000..a0b738b10 --- /dev/null +++ b/vello_tests/snapshots/gradient_extend.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b39d3054c979222c4030f76ed7045f5f82499a327e8a9e00af411d1b50b75b33 +size 55386 diff --git a/vello_tests/tests/snapshot_test_scenes.rs b/vello_tests/tests/snapshot_test_scenes.rs index eff9880f3..a40171d99 100644 --- a/vello_tests/tests/snapshot_test_scenes.rs +++ b/vello_tests/tests/snapshot_test_scenes.rs @@ -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() {