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
@@ -8,7 +8,7 @@ from interp import grid
|
||||
import numpy as np
|
||||
import scipy.spatial
|
||||
|
||||
class TestSequenceFunctions(unittest.TestCase):
|
||||
class Test(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.l = [[-1, 1], [-1, 0], [-1, 1], [0, -1], [0, 0], [0, 1], [1, -1], [1, 0], [1, 1]]
|
||||
self.all_points = [
|
||||
@@ -153,5 +153,5 @@ class TestSequenceFunctions(unittest.TestCase):
|
||||
self.assertAlmostEqual(c, cc)
|
||||
|
||||
if __name__ == '__main__':
|
||||
suite = unittest.TestLoader().loadTestsFromTestCase(TestSequenceFunctions)
|
||||
suite = unittest.TestLoader().loadTestsFromTestCase(Test)
|
||||
unittest.TextTestRunner(verbosity=3).run(suite)
|
||||
|
||||
Reference in New Issue
Block a user