initial commit FESurrogateModelTutorial
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import importlib
|
||||
|
||||
import femsurrogate
|
||||
|
||||
|
||||
def test_package_exposes_version_string():
|
||||
assert isinstance(femsurrogate.__version__, str)
|
||||
assert femsurrogate.__version__
|
||||
|
||||
|
||||
def test_expected_subpackages_are_importable():
|
||||
for module_name in [
|
||||
"femsurrogate.fea",
|
||||
"femsurrogate.data",
|
||||
"femsurrogate.surrogates",
|
||||
"femsurrogate.plotting",
|
||||
]:
|
||||
assert importlib.import_module(module_name).__name__ == module_name
|
||||
Reference in New Issue
Block a user