Commit 2c26792e authored by dboe's avatar dboe
Browse files

updated tests

parent cb10bc49
...@@ -4,7 +4,7 @@ import unittest ...@@ -4,7 +4,7 @@ import unittest
import sympy # NOQA: F401 import sympy # NOQA: F401
import os import os
import sys import sys
from test_core import Base_Check from .test_core import Base_Check
THIS_DIR = os.path.dirname( THIS_DIR = os.path.dirname(
os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__)))) os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__))))
sys.path.append(os.path.normpath(os.path.join(THIS_DIR))) sys.path.append(os.path.normpath(os.path.join(THIS_DIR)))
...@@ -32,5 +32,4 @@ class IO_Stl_test(unittest.TestCase): ...@@ -32,5 +32,4 @@ class IO_Stl_test(unittest.TestCase):
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() 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__))))
from test_core import Base_Check
class IO_test(Base_Check, unittest.TestCase):
class IO_Stl_test(IO_test):
def setUp(self):
self._inst = tfields.Triangles3D.load(r'../data/baffle.stl')
if __name__ == '__main__':
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment