Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix CA error in unit tests
  • Loading branch information
nicolaihenriksen committed Jan 13, 2023
commit e7463d507e53738f892c76b515ef10a7795d2a74
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void WhenParametersAreSpecifiedAndScaleTransformDisabledItReturnsTransfor
var result = (TransformGroup?)converter.Convert(new object?[] { scale, lower, upper, new Point(x, y) }, typeof(Transform), null, CultureInfo.CurrentUICulture);

Assert.NotNull(result);
Assert.Equal(1, result.Children.Count);
Assert.Single(result.Children);
Assert.IsType<TranslateTransform>(result.Children[0]);
}

Expand All @@ -77,7 +77,7 @@ public void WhenParametersAreSpecifiedAndTranslateTransformDisabledItReturnsTran
var result = (TransformGroup?)converter.Convert(new object?[] { scale, lower, upper, new Point(x, y) }, typeof(Transform), null, CultureInfo.CurrentUICulture);

Assert.NotNull(result);
Assert.Equal(1, result.Children.Count);
Assert.Single(result.Children);
Assert.IsType<ScaleTransform>(result.Children[0]);
}
}
Expand Down