fix aspect ratio shown for 720x480
[lilass.git] / tests.py
index 5a488573a8ebe29c8d2d08606a6b4a35bebf5b4c..9f3fb46a15bf18e4265b061a8eaaca5625d1227a 100755 (executable)
--- a/tests.py
+++ b/tests.py
@@ -11,6 +11,7 @@ class TestResolutions(unittest.TestCase):
       self.assertEqual(str(screen.Resolution(1366, 768)), '1366x768 (16:9)')
       self.assertEqual(str(screen.Resolution(1920, 1080)), '1920x1080 (16:9)')
       self.assertEqual(str(screen.Resolution(1920, 1200)), '1920x1200 (16:10)')
+      self.assertEqual(str(screen.Resolution(720, 480)), '720x480 (3:2)')
 
 if __name__ == '__main__':
     unittest.main()