Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FEniCS/dolfinx
/ test_name_argument
Function
test_name_argument
python/test/unit/fem/test_function.py:46–51 ·
view source on GitHub ↗
(W)
Source
from the content-addressed store, hash-verified
44
45
46
def
test_name_argument(W):
47
u = Function(W)
48
v = Function(W, name=
"v"
)
49
assert u.name ==
"f"
50
assert v.name ==
"v"
51
assert str(v) ==
"v"
52
53
54
def
test_copy(V):
Callers
nothing calls this directly
Calls
1
Function
Class · 0.90
Tested by
no test coverage detected