Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IfcOpenShell/IfcOpenShell
/ test_plain_int
Method
test_plain_int
src/ifcedit/tests/test_coerce.py:21–22 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
19
20
class
TestIntCoercion:
21
def
test_plain_int(self):
22
assert coerce_value(
"42"
, int) == 42
23
24
def
test_hash_prefix(self):
25
assert coerce_value(
"#42"
, int) == 42
Callers
nothing calls this directly
Calls
1
coerce_value
Function · 0.90
Tested by
no test coverage detected