Browse Source

Changed test cases as requested.

pull/4055/head
José Pedro 6 years ago
parent
commit
50985a62d2
No known key found for this signature in database GPG Key ID: B8247B9301707B83
  1. 3
      tests/Avalonia.Skia.UnitTests/TextLayoutTests.cs

3
tests/Avalonia.Skia.UnitTests/TextLayoutTests.cs

@ -506,9 +506,8 @@ namespace Avalonia.Skia.UnitTests
}
}
[InlineData("0123456789\r\n0123456789\r\n0123456789", 0, 3)]
[InlineData("0123456789\r\n0123456789\r\n0123456789", 1, 1)]
[InlineData("0123456789\r\n0123456789\r\n0123456789", 2, 2)]
[InlineData("0123456789\r\n0123456789\r\n0123456789", 3, 3)]
[InlineData("0123456789\r\n0123456789\r\n0123456789", 4, 3)]
[Theory]
public void Should_Not_Exceed_MaxLines(string text, int maxLines, int expectedLines)

Loading…
Cancel
Save