Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IfcOpenShell/IfcOpenShell
/ test_negative
Method
test_negative
src/ifcedit/tests/test_coerce.py:27–28 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
25
assert coerce_value(
"#42"
, int) == 42
26
27
def
test_negative(self):
28
assert coerce_value(
"-5"
, int) == -5
29
30
31
class
TestFloatCoercion:
Callers
nothing calls this directly
Calls
1
coerce_value
Function · 0.90
Tested by
no test coverage detected