Esempio n. 1
0
        public void LayoutSupportBottomRelativeEqualities()
        {
            viewController.View.LayoutIfNeeded();

            Constrain(view, v =>
            {
                v.Bottom.Equal(viewController.BottomLayoutGuideCartography());
            });

            viewController.View.LayoutIfNeeded();

            Assert.That(view.ConvertRectToView(view.Bounds, window).GetMaxY(), Is.EqualTo(viewController.BottomLayoutGuide.Length));
        }