public async Task TransformationCalculatedCorrectly() { var view = new TStub() { TranslationX = 10.0, TranslationY = 30.0, Rotation = 248.0, Scale = 2.0, ScaleX = 2.0, }; var transform = await GetLayerTransformAsync(view); var expected = new CATransform3D { M11 = -1.4984f, M12 = -3.7087f, M21 = 1.8544f, M22 = -0.7492f, M33 = 2f, M41 = 10f, M42 = 30f, M44 = 1f, }; expected.AssertEqual(transform); }