コード例 #1
0
 def test_get_full_file_data(self):
     file_name = current_dir + '/QAM16_signalG_500Ms.csv'
     print(file_name)
     file_size = 250000
     calc = mu.readfile(file_name)
     result = len(calc)
     self.assertEqual(file_size, result)
コード例 #2
0
 def test_get_resampled_file_data(self):
     sampling_size = 500
     file_name = current_dir + '/QAM16_signalG_500Ms.csv'
     calc = mu.readfile(file_name, True, sampling_size)
     result = len(calc)
     self.assertEqual(sampling_size, result)