Esempio n. 1
0
 def test_undbm_3(self):
     """Test function for undbm() 3/3"""
     self.assertTrue(np.isscalar(undbm(3, 100)))
Esempio n. 2
0
 def test_undbm_2(self):
     """Test function for undbm() 2/3"""
     self.assertTrue(
         np.allclose([undbm(3, 100)], [0.44668359215],
                     rtol=1e-05,
                     atol=1e-08))
Esempio n. 3
0
 def test_undbm_1(self):
     """Test function for undbm() 1/3"""
     self.assertTrue(
         np.allclose([undbm(53.015)], [100.054125892],
                     rtol=1e-05,
                     atol=1e-08))
 def test_undbm_3(self):
     """Test function for undbm() 3/3"""
     self.assertTrue(np.isscalar(undbm(3, 100)))
 def test_undbm_2(self):
     """Test function for undbm() 2/3"""
     self.assertTrue(np.allclose([undbm(3, 100)], [0.44668359215], rtol=1e-05,
                                 atol=1e-08))
 def test_undbm_1(self):
     """Test function for undbm() 1/3"""
     self.assertTrue(np.allclose([undbm(53.015)], [100.054125892], rtol=1e-05,
                                 atol=1e-08))