BloomTests.Book.SizeAndOrientationTests.IsLandscape_landscapeCSS_true C# (CSharp) Method

IsLandscape_landscapeCSS_true() private method

private IsLandscape_landscapeCSS_true ( ) : void
return void
        public void IsLandscape_landscapeCSS_true()
        {
            var dom = new XmlDocument();
            dom.LoadXml(@"<html ><body><div id='foo'></div><div class='blah bloom-page A5Landscape'></div></body></html>");
            Assert.IsTrue(SizeAndOrientation.GetSizeAndOrientation(dom, "A5Portrait").IsLandScape);
        }