فهرست منبع

Add unit test for KeepContentInAllViewport as false.

BDisp 11 ماه پیش
والد
کامیت
bd51356b56
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      UnitTests/Views/ScrollSliderTests.cs

+ 1 - 0
UnitTests/Views/ScrollSliderTests.cs

@@ -44,6 +44,7 @@ public class ScrollSliderTests
     // Randomized Test for more extensive testing
     // Randomized Test for more extensive testing
     [Theory]
     [Theory]
     [InlineData (Orientation.Vertical, true, 26, 236, 5)]
     [InlineData (Orientation.Vertical, true, 26, 236, 5)]
+    [InlineData (Orientation.Vertical, false, 26, 236, 5)]
     public void Test_Position_Location_Consistency_Random (Orientation orientation, bool keepContentInAllViewport, int scrollLength, int size, int testCount)
     public void Test_Position_Location_Consistency_Random (Orientation orientation, bool keepContentInAllViewport, int scrollLength, int size, int testCount)
     {
     {
         var random = new Random ();
         var random = new Random ();