Преглед на файлове

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
     [Theory]
     [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)
     {
         var random = new Random ();