tests: Include tests for empty newlines in the `as3_edittext_getlinemetrics` test.

This commit is contained in:
David Wendt 2022-10-15 15:16:59 -04:00 committed by kmeisthax
parent 5f7344259a
commit 1952870ed1
3 changed files with 102 additions and 0 deletions

View File

@ -43,3 +43,105 @@
/// ...x: /// ...x:
2 2
//(Several newlines)
/// Text lines: 4
/// ...ascent:
12.85
/// ...descent:
3.45
/// ...width:
0
/// ...height:
18.3
/// ...leading:
2
/// ...x:
2
/// ...ascent:
12.85
/// ...descent:
3.45
/// ...width:
0
/// ...height:
18.3
/// ...leading:
2
/// ...x:
2
/// ...ascent:
12.85
/// ...descent:
3.45
/// ...width:
0
/// ...height:
18.3
/// ...leading:
2
/// ...x:
2
/// ...ascent:
12.85
/// ...descent:
3.45
/// ...width:
0
/// ...height:
18.3
/// ...leading:
2
/// ...x:
2
//Lorem ipsum\n\ndolor sit\n amet
/// Text lines: 4
/// ...ascent:
12.85
/// ...descent:
3.45
/// ...width:
74.2
/// ...height:
18.3
/// ...leading:
2
/// ...x:
2
/// ...ascent:
12.85
/// ...descent:
3.45
/// ...width:
0
/// ...height:
18.3
/// ...leading:
2
/// ...x:
2
/// ...ascent:
12.85
/// ...descent:
3.45
/// ...width:
46
/// ...height:
18.3
/// ...leading:
2
/// ...x:
2
/// ...ascent:
12.85
/// ...descent:
3.45
/// ...width:
32.05
/// ...height:
18.3
/// ...leading:
2
/// ...x:
2