Example #1
0
 def test_3_1(self):
     "test calA0 from simulation.py"
     result = self.rs.calA0()
     expectResult = 24.0
     isTrue = expectResult - result < 0.0001
     self.assertTrue(isTrue,"calA0")
     self.rs.doReaction(1)
     self.rs.doSimulation()
     self.rs.form_result()
     self.rs.getProcess()
     getPartNameAndType("603")
     getMarkovRecommend("603")
     getPart("BBa_C0062")
     #ambiguousSearch("603",None)
     get_func_parts([1,2,3])
Example #2
0
 def test_search_part_normal(self):
     result = getPart('part1')
     self.assertEqual(result['successful'], True)
Example #3
0
 def test_search_part_none(self):
     result = getPart('none')
     self.assertEqual(result['successful'], False)
Example #4
0
 def test_search_part_normal(self):
     result = getPart('part1')
     self.assertEqual(result['successful'], True)
Example #5
0
 def test_search_part_none(self):
     result = getPart('none')
     self.assertEqual(result['successful'], False)