浏览代码

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 ();