public virtual void _Scale() { var remote = new ViewContainerRemote(App, Test.VisualElement.Scale, PlatformViewType); remote.GoTo(); var scaleMatrix = remote.GetProperty <Matrix> (View.ScaleProperty); Matrix generatedMatrix = NumericExtensions.BuildScaleMatrix(0.5f); Assert.AreEqual(generatedMatrix, scaleMatrix); }
public virtual void _Scale() { var remote = new ViewContainerRemote(App, Test.VisualElement.Scale, PlatformViewType); remote.GoTo(); #if __MACOS__ Assert.Inconclusive("needs testing"); #else var scaleMatrix = remote.GetProperty <Matrix>(View.ScaleProperty); Matrix generatedMatrix = NumericExtensions.BuildScaleMatrix(0.5f); Assert.AreEqual(generatedMatrix, scaleMatrix); #endif }