コード例 #1
0
ファイル: test_files.py プロジェクト: psyche11/atomium
 def test_can_update_resolution(self):
     file_ = File()
     file_._resolution = 2.5
     file_.resolution = 1.9
     self.assertEqual(file_._resolution, 1.9)
コード例 #2
0
ファイル: test_files.py プロジェクト: psyche11/atomium
 def test_can_get_resolution(self):
     file_ = File()
     file_._resolution = 2.5
     self.assertIs(file_._resolution, file_.resolution)