test_MultiFormatNavDataFactory.py
Go to the documentation of this file.
1 #!/usr/env python
2 
3 import unittest, sys, os
4 sys.path.insert(0, os.path.abspath(".."))
5 from gnsstk.test_utils import args,run_unit_tests
6 
7 import gnsstk
8 
9 class TestMultiFormatNavDataFactory(unittest.TestCase):
10  def test_addDataSource(self):
12  ndf.addDataSource(args.input_dir+'/test_input_yuma377.txt')
13  ndf.addDataSource(args.input_dir+
14  '/test_input_rinex_nav_RinexNavExample.99n')
15  ndf.addDataSource(args.input_dir+'/test_input_SP3c.sp3')
16  ndf.addDataSource(args.input_dir+'/test_input_sem387.txt')
17  self.assertEqual(1629, ndf.size())
18  ndf.clear()
19  self.assertEqual(0, ndf.size())
20 
21 if __name__ == '__main__':
gnsstk::MultiFormatNavDataFactory
Definition: MultiFormatNavDataFactory.hpp:74
tests.test_MultiFormatNavDataFactory.TestMultiFormatNavDataFactory.test_addDataSource
def test_addDataSource(self)
Definition: test_MultiFormatNavDataFactory.py:10
test_utils.run_unit_tests
def run_unit_tests()
Definition: test_utils.py:51
tests.test_MultiFormatNavDataFactory.TestMultiFormatNavDataFactory
Definition: test_MultiFormatNavDataFactory.py:9


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:41