MCPcopy 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
46def 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
54def test_copy(V):

Callers

nothing calls this directly

Calls 1

FunctionClass · 0.90

Tested by

no test coverage detected