Move linear problem example to examples folder.

This commit is contained in:
rowanc1
2014-05-16 17:53:51 -07:00
parent e385747f45
commit 1f0e37d773
7 changed files with 20 additions and 23 deletions
+1
View File
@@ -13,6 +13,7 @@ class TestBaseMesh(unittest.TestCase):
self.assertTrue(self.mesh.dim, 3)
def test_mesh_nc(self):
self.assertTrue(self.mesh.nC == 36)
self.assertTrue(np.all(self.mesh.vnC == [6, 2, 3]))
def test_mesh_nc_xyz(self):
+13
View File
@@ -0,0 +1,13 @@
import unittest
import sys
from SimPEG.Examples import Linear
import numpy as np
class TestLinear(unittest.TestCase):
def test_running(self):
Linear.run(100)
self.assertTrue(True)
if __name__ == '__main__':
unittest.main()