tests: Port Shumway's acid tests over

This commit is contained in:
Nathan Adams 2023-07-17 18:49:51 +02:00
parent a35ea3d9f2
commit aa243dbe4c
225 changed files with 697 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -0,0 +1 @@
Hello Transform Matrix: (a=1, b=0, c=0, d=1, tx=0.8, ty=470.25)

View File

@ -0,0 +1,10 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 10
[image_comparison]
tolerance = 0
max_outliers = 18
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 KiB

View File

@ -0,0 +1,10 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 300
[image_comparison]
tolerance = 50
max_outliers = 20
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -0,0 +1,9 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 1
[image_comparison]
tolerance = 0
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@ -0,0 +1,9 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 1
[image_comparison]
tolerance = 0
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@ -0,0 +1,9 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 1
[image_comparison]
tolerance = 1
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 KiB

View File

@ -0,0 +1,9 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 1
[image_comparison]
tolerance = 2
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

View File

@ -0,0 +1,9 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 1
[image_comparison]
tolerance = 0
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -0,0 +1,10 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
# todo: capture frame 5 too (to match shumway)
num_frames = 10
[image_comparison]
tolerance = 0
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

View File

@ -0,0 +1,10 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 30
[image_comparison]
tolerance = 11
max_outliers = 348
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

View File

@ -0,0 +1,10 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 30
[image_comparison]
tolerance = 15
max_outliers = 24
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@ -0,0 +1,9 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 1
[image_comparison]
tolerance = 0
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -0,0 +1,10 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
# todo: capture frame 5 too (to match shumway)
num_frames = 10
[image_comparison]
tolerance = 0
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -0,0 +1,9 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 1
[image_comparison]
tolerance = 1
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@ -0,0 +1,9 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 1
[image_comparison]
tolerance = 0
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -0,0 +1,10 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
# todo: capture frame 3 too (to match shumway)
num_frames = 10
[image_comparison]
tolerance = 0
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

View File

@ -0,0 +1,10 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
# todo: capture frame 1 too (to match shumway)
num_frames = 10
[image_comparison]
tolerance = 3
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

View File

@ -0,0 +1,10 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 1
ignore = true # https://github.com/ruffle-rs/ruffle/issues/12127
[image_comparison]
tolerance = 0
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@ -0,0 +1,9 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 1
[image_comparison]
tolerance = 0
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -0,0 +1,2 @@
3300ff
1

View File

@ -0,0 +1,9 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 1
[image_comparison]
tolerance = 4
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -0,0 +1,9 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid
num_frames = 1
[image_comparison]
tolerance = 2
[player_options]
with_renderer = { optional = false, sample_count = 1 }

Some files were not shown because too many files have changed in this diff Show More