Skip to content
Snippets Groups Projects
Commit 2c26792e authored by dboe's avatar dboe
Browse files

updated tests

parent cb10bc49
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ import unittest
import sympy # NOQA: F401
import os
import sys
from test_core import Base_Check
from .test_core import Base_Check
THIS_DIR = os.path.dirname(
os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__))))
sys.path.append(os.path.normpath(os.path.join(THIS_DIR)))
......@@ -32,5 +32,4 @@ class IO_Stl_test(unittest.TestCase):
if __name__ == '__main__':
tfields.Mesh3D.load(os.path.join(THIS_DIR,'../data/baffle.stl'))
unittest.main()
import tfields
import numpy as np
import unittest
import sympy # NOQA: F401
import os
import sys
THIS_DIR = os.path.dirname(os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__))))
sys.path.append(os.path.normpath(os.path.join(THIS_DIR)))
from test_core import Base_Check
class IO_test(Base_Check, unittest.TestCase):
pass
class IO_Stl_test(IO_test):
def setUp(self):
self._inst = tfields.Triangles3D.load(r'../data/baffle.stl')
if __name__ == '__main__':
unittest.main()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment