Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Boeckenhoff
tfields
Commits
2c26792e
Commit
2c26792e
authored
May 07, 2020
by
dboe
Browse files
updated tests
parent
cb10bc49
Changes
2
Hide whitespace changes
Inline
Side-by-side
test/test_mesh3D.py
View file @
2c26792e
...
...
@@ -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
()
test/test_triangles3D.py
deleted
100644 → 0
View file @
cb10bc49
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment