def test_fujifilm(self): """ DSCF1900.JPG """ # fnumber self.assertEqual(format_rational((5.6, )), '5.6') # FIXME: exposure time! self.assertEqual(format_rational((0.007142857142857143, )), '1/140')
def test_canon(self): """ IMG_8232.JPG """ # fnumber self.assertEqual(format_rational((4, 1)), '4') # exposure time self.assertEqual(format_rational((1, 80)), '1/80')
def test_fujifilm(self): """ DSCF1900.JPG """ # fnumber self.assertEqual(format_rational((560, 100)), '5.6') # exposure time self.assertEqual(format_rational((10, 1400)), '1/140')
def test_fujifilm(self): """ DSCF1900.JPG """ # fnumber self.assertEqual(format_rational((5.6,)), '5.6') # FIXME: exposure time! self.assertEqual(format_rational((0.007142857142857143,)), '1/140')
def test_canon_450d(self): # fnumber self.assertEqual(format_rational((10.0, )), '10') # exposure time self.assertEqual(format_rational((0.008, )), '1/125')
def test_canon(self): # fnumber self.assertEqual(format_rational((4.0, )), '4') # exposure time self.assertEqual(format_rational((0.0125, )), '1/80')
def test_canon_450d(self): # fnumber self.assertEqual(format_rational((10.0,)), '10') # exposure time self.assertEqual(format_rational((0.008,)), '1/125')
def test_canon(self): # fnumber self.assertEqual(format_rational((4.0,)), '4') # exposure time self.assertEqual(format_rational((0.0125,)), '1/80')