test_mission_analyze_node.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 
3 import unittest
4 import math
5 #import phm_reliability.reliability_node as rn
6 
7 PKG = 'phm_mission_analyze'
8 NAME = 'test_mission_analyze_node'
9 
10 class TestMissionAnalyzeNode(unittest.TestCase):
11 
12  def test_1(self):
13  self.assertEquals(1, 1)
14  """
15  def test_2(self):
16  test_deneme = rn.percentage_calculated(80)
17  self.assertEqual(test_deneme, 8000)
18  """
19 
20 if __name__ == '__main__':
21  import rosunit
22  rosunit.unitrun(PKG, NAME, TestMissionAnalyzeNode, sysargs = "--cov", coverage_packages=[str(PKG)])


phm_mission_analyze
Author(s):
autogenerated on Mon Jun 10 2019 14:13:32