Exemplo n.º 1
0
 def test_gh1d_7pts(self):
     if self.writeData:
         p,w = gq.gh1d(7)
         np.savez('data/test_gh1d_7pts.npz',p=p,w=w)
     
     data = helper.load_test_npz('test_gh1d_7pts.npz')
     p,w = gq.gh1d(7)
     np.testing.assert_almost_equal(p, data['p'])
     np.testing.assert_almost_equal(w, data['w'])
Exemplo n.º 2
0
 def test_gh1d_7pts(self):
     p,w = gq.gh1d(7)
Exemplo n.º 3
0
 def test_gh1d_7pts(self):
     data = helper.load_test_npz('test_gh1d_7pts.npz')
     p,w = gq.gh1d(7)
     np.testing.assert_equal(p, data['p'])
     np.testing.assert_equal(w, data['w'])
 def test_gh1d_7pts(self):
     p, w = gq.gh1d(7)