diff options
author | Dr.Smile <vabnick@gmail.com> | 2019-05-27 00:50:04 +0300 |
---|---|---|
committer | Dr.Smile <vabnick@gmail.com> | 2020-05-07 18:36:35 +0300 |
commit | 46f44957e54cdd6d0c3554ad44bae5eb17ad74fc (patch) | |
tree | 33c7982d758a8e6b24ab8839a71fa3f646348590 /compare/test | |
parent | e5140624ff739c3157929bc5e1a1007cdc9cdaa8 (diff) | |
download | libass-46f44957e54cdd6d0c3554ad44bae5eb17ad74fc.tar.bz2 libass-46f44957e54cdd6d0c3554ad44bae5eb17ad74fc.tar.xz |
Add infrastructure for regression testing
`test` subdirectory contains complete test example.
Diffstat (limited to 'compare/test')
-rw-r--r-- | compare/test/font1.ttf | bin | 0 -> 16744 bytes | |||
-rw-r--r-- | compare/test/font2.otf | bin | 0 -> 27644 bytes | |||
-rw-r--r-- | compare/test/sub1-0500.png | bin | 0 -> 5509 bytes | |||
-rw-r--r-- | compare/test/sub1-1500.png | bin | 0 -> 4684 bytes | |||
-rw-r--r-- | compare/test/sub1-2500.png | bin | 0 -> 4465 bytes | |||
-rw-r--r-- | compare/test/sub1.ass | 12 | ||||
-rw-r--r-- | compare/test/sub2-153000.png | bin | 0 -> 9547 bytes | |||
-rw-r--r-- | compare/test/sub2.ass | 12 |
8 files changed, 24 insertions, 0 deletions
diff --git a/compare/test/font1.ttf b/compare/test/font1.ttf Binary files differnew file mode 100644 index 00000000..215d4a29 --- /dev/null +++ b/compare/test/font1.ttf diff --git a/compare/test/font2.otf b/compare/test/font2.otf Binary files differnew file mode 100644 index 00000000..4248f6ff --- /dev/null +++ b/compare/test/font2.otf diff --git a/compare/test/sub1-0500.png b/compare/test/sub1-0500.png Binary files differnew file mode 100644 index 00000000..342c0e3b --- /dev/null +++ b/compare/test/sub1-0500.png diff --git a/compare/test/sub1-1500.png b/compare/test/sub1-1500.png Binary files differnew file mode 100644 index 00000000..cf6b5931 --- /dev/null +++ b/compare/test/sub1-1500.png diff --git a/compare/test/sub1-2500.png b/compare/test/sub1-2500.png Binary files differnew file mode 100644 index 00000000..db834832 --- /dev/null +++ b/compare/test/sub1-2500.png diff --git a/compare/test/sub1.ass b/compare/test/sub1.ass new file mode 100644 index 00000000..a1718a54 --- /dev/null +++ b/compare/test/sub1.ass @@ -0,0 +1,12 @@ +[Script Info] +PlayResX: 320 +PlayResY: 240 +ScaledBorderAndShadow: yes + +[V4+ Styles] +Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding +Style: Default,Aileron,200,&H000000FF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,8,0,5,10,10,10,1 + +[Events] +Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text +Dialogue: 0,0:00:00.00,0:00:04.00,Default,,0,0,0,,{\t(\frz+180)}A diff --git a/compare/test/sub2-153000.png b/compare/test/sub2-153000.png Binary files differnew file mode 100644 index 00000000..11dc45b3 --- /dev/null +++ b/compare/test/sub2-153000.png diff --git a/compare/test/sub2.ass b/compare/test/sub2.ass new file mode 100644 index 00000000..d4d9c262 --- /dev/null +++ b/compare/test/sub2.ass @@ -0,0 +1,12 @@ +[Script Info] +PlayResX: 320 +PlayResY: 180 +ScaledBorderAndShadow: yes + +[V4+ Styles] +Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding +Style: Default,Pixel Operator Mono,100,&H00FF0000,&H00FF0000,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,0,0,5,10,10,10,1 + +[Events] +Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text +Dialogue: 0,0:02:30.00,0:02:35.00,Default,,0,0,0,,{\blur1}Test_ |