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:
sm
2011-02-15 11:27:45 -07:00
parent 6bc5908a9b
commit 9827035e72
8 changed files with 40 additions and 14 deletions
Executable → Regular
+2 -2
View File
@@ -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)