Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NTRfC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFD - Institut für Turbomaschinen und Fluid-Dynamik
tools
NTRfC
Commits
d623b9d6
Commit
d623b9d6
authored
3 years ago
by
Malte Nyhuis
Browse files
Options
Downloads
Patches
Plain Diff
dummy-tests
parent
bd4e5fac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
setup.py
+0
-1
0 additions, 1 deletion
setup.py
tests/test_ntrfc.py
+22
-0
22 additions, 0 deletions
tests/test_ntrfc.py
with
22 additions
and
1 deletion
setup.py
+
0
−
1
View file @
d623b9d6
...
...
@@ -14,7 +14,6 @@ with open('HISTORY.rst') as history_file:
install_reqs
=
parse_requirements
(
"
requirements.txt
"
,
session
=
"
hack
"
)
requirements
=
[
ir
.
requirement
for
ir
in
install_reqs
]
#requirements = ["snakemake==6.12.3" ]
test_requirements
=
[
'
pytest>=3
'
,
]
...
...
This diff is collapsed.
Click to expand it.
tests/test_ntrfc.py
+
22
−
0
View file @
d623b9d6
...
...
@@ -8,6 +8,7 @@ import numpy as np
from
ntrfc
import
ntrfc
from
ntrfc.utils.geometry.pointcloud_methods
import
midLength
,
midline_from_sides
,
extractSidePolys
from
ntrfc.utils.math.vectorcalc
import
calc_largedistant_idx
from
ntrfc.utils.pyvista_utils.line
import
refine_spline
...
...
@@ -95,18 +96,21 @@ def test_surface_distance():
def
test_cgnsReader
():
from
ntrfc.utils.filehandling.read_mesh
import
cgnsReader
#todo fill
a
=
cgnsReader
return
0
def
test_vtkUnstructuredGridReader
():
from
ntrfc.utils.filehandling.read_mesh
import
vtkUnstructuredGridReader
#todo fill
a
=
vtkUnstructuredGridReader
return
0
def
test_vtkFLUENTReader
():
from
ntrfc.utils.filehandling.read_mesh
import
vtkFLUENTReader
#todo fill
a
=
vtkFLUENTReader
return
0
...
...
@@ -140,3 +144,21 @@ def test_largedistance_indices():
id1
,
id2
=
calc_largedistant_idx
(
xx
,
yy
)
assert
id1
==
0
assert
id2
==
100
def
test_midLength
():
#todo fill
a
=
midLength
return
0
def
test_midline_from_sides
():
#todo fill
a
=
midline_from_sides
return
0
def
test_extractSidePolys
():
#todo fill
a
=
extractSidePolys
return
0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment