Skip to content

Commit 9481e9c

Browse files
committed
Turned off layout rounding for failing tests
1 parent bae1fb0 commit 9481e9c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UnitTests/UnitTests.UWP/UI/Controls/Test_WrapPanel_Visibility.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ await App.DispatcherQueue.EnqueueAsync(async () =>
3737
</controls:WrapPanel>
3838
</Page>") as FrameworkElement;
3939

40+
treeRoot.UseLayoutRounding = false;
41+
4042
var expected = new (int u, int v, int w, int h)[]
4143
{
4244
(0, 0, 0, 0), // Collapsed
@@ -94,6 +96,8 @@ await App.DispatcherQueue.EnqueueAsync(async () =>
9496
</controls:WrapPanel>
9597
</Page>") as FrameworkElement;
9698

99+
treeRoot.UseLayoutRounding = false;
100+
97101
var expected = new (int u, int v, int w, int h)[]
98102
{
99103
(0, 0, 150, 50),
@@ -149,6 +153,8 @@ await App.DispatcherQueue.EnqueueAsync(async () =>
149153
</controls:WrapPanel>
150154
</Page>") as FrameworkElement;
151155

156+
treeRoot.UseLayoutRounding = false;
157+
152158
var expected = new (int u, int v, int w, int h)[]
153159
{
154160
(0, 0, 150, 50),

0 commit comments

Comments
 (0)