swig
tests
test_RinexNavDataFactory.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
TestRinexNavDataFactory
(unittest.TestCase):
10
def
test_addDataSource
(self):
11
ndf =
gnsstk.RinexNavDataFactory
()
12
ndf.addDataSource(args.input_dir+
13
'/test_input_rinex_nav_RinexNavExample.99n'
)
14
self.assertEqual(9, ndf.size())
15
16
if
__name__ ==
'__main__'
:
17
run_unit_tests
()
tests.test_RinexNavDataFactory.TestRinexNavDataFactory.test_addDataSource
def test_addDataSource(self)
Definition:
test_RinexNavDataFactory.py:10
gnsstk::RinexNavDataFactory
Definition:
RinexNavDataFactory.hpp:57
tests.test_RinexNavDataFactory.TestRinexNavDataFactory
Definition:
test_RinexNavDataFactory.py:9
test_utils.run_unit_tests
def run_unit_tests()
Definition:
test_utils.py:51
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:41