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
@@ -32,7 +32,7 @@ def calculate_error_term(self, a,b,c,d,e,f):
|
||||
abc[2] * self.phis[e] * self.phis[f]
|
||||
return err
|
||||
|
||||
class TestSequenceFunctions(unittest.TestCase):
|
||||
class Test(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.verts = [
|
||||
[ 2, 3], # 0
|
||||
@@ -100,5 +100,5 @@ class TestSequenceFunctions(unittest.TestCase):
|
||||
|
||||
|
||||
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