From 656394e7473aaea940776c9ffc0b8f46bb125c44 Mon Sep 17 00:00:00 2001 From: Stephen Mardson McQuay Date: Fri, 29 Oct 2010 21:34:15 -0600 Subject: [PATCH] updated for directory structure changes --- test/baker3D.test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/baker3D.test.py b/test/baker3D.test.py index 49a29cd..5683821 100755 --- a/test/baker3D.test.py +++ b/test/baker3D.test.py @@ -1,8 +1,8 @@ #!/usr/bin/env python import unittest -import baker -import grid +from interp.baker import get_phis_3D, qlinear_3D +from interp.grid import grid import numpy as np import scipy.spatial @@ -20,7 +20,7 @@ class TestSequenceFunctions(unittest.TestCase): def testGetPhis3D(self): - result = baker.get_phis_3D(self.X, self.r) + result = get_phis_3D(self.X, self.r) right_answer = [0.25, 0.25, 0.25, 0.25] for a,b in zip(result, right_answer): @@ -28,7 +28,7 @@ class TestSequenceFunctions(unittest.TestCase): def testQlinear3D(self): - phi, result = baker.qlinear_3D(self.X, grid.grid(self.r, self.q)) + phi, result = qlinear_3D(self.X, grid(self.r, self.q)) result = result right_answer = 1.0 self.assertAlmostEqual(result, right_answer)