made it so I can call all tests at once
--HG-- rename : test/2dcubic.py => test/cubic2d.py rename : test/2dquadratic.py => test/quadratic2d.py
This commit is contained in:
Executable → Regular
+2
-2
@@ -7,7 +7,7 @@ from interp.grid import grid
|
||||
import numpy as np
|
||||
import scipy.spatial
|
||||
|
||||
class TestSequenceFunctions(unittest.TestCase):
|
||||
class Test(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.X = [0.0, 0.0, 0.0]
|
||||
self.r = [
|
||||
@@ -35,5 +35,5 @@ class TestSequenceFunctions(unittest.TestCase):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
suite = unittest.TestLoader().loadTestsFromTestCase(TestSequenceFunctions)
|
||||
suite = unittest.TestLoader().loadTestsFromTestCase(Test)
|
||||
unittest.TextTestRunner(verbosity=2).run(suite)
|
||||
|
||||
Reference in New Issue
Block a user