コード例 #1
0
ファイル: test_clock.py プロジェクト: morcuended/sapphire
 def test_utc_from_string(self):
     for date, timestamp, _ in self.combinations:
         self.assertEqual(clock.utc_from_string(date), timestamp)
コード例 #2
0
ファイル: test_clock.py プロジェクト: HiSPARC/sapphire
 def test_utc_from_string(self):
     for date, timestamp, _ in self.combinations:
         self.assertEqual(clock.utc_from_string(date), timestamp)
コード例 #3
0
ファイル: test_clock.py プロジェクト: morcuended/sapphire
 def test_utc_to_gps(self):
     for date, _, _ in self.combinations:
         self.assertEqual(clock.utc_to_gps(clock.utc_from_string(date)),
                          clock.gps_from_string(date))
コード例 #4
0
ファイル: test_clock.py プロジェクト: HiSPARC/sapphire
 def test_utc_to_gps(self):
     for date, _, _ in self.combinations:
         self.assertEqual(clock.utc_to_gps(clock.utc_from_string(date)),
                          clock.gps_from_string(date))