def test_landscape_orientation(self):
     width = 1
     height = 0
     assert (viewport.get_orientation(width=width, height=height)
             == viewport.Orientation.LANDSCAPE), (
         "Invalid viewport orientation resolved when width > height")
 def test_equal_orientation(self):
     width = 0
     height = 0
     assert (viewport.get_orientation(width=width, height=height)
             == viewport.Orientation.EQUAL), (
         "Invalid viewport orientation resolved when width == height")
 def test_portrait_orientation(self):
     width = 0
     height = 1
     assert (viewport.get_orientation(width=width, height=height)
             == viewport.Orientation.PORTRAIT), (
         "Invalid viewport orientation resolved when width < height")