MCPcopy
hub / github.com/Textualize/textual / test_resolve

Function test_resolve

tests/test_resolve.py:51–61  ·  view source on GitHub ↗
(scalars, total, gutter, result)

Source from the content-addressed store, hash-verified

49 ],
50)
51def test_resolve(scalars, total, gutter, result):
52 assert (
53 resolve(
54 [Scalar.parse(scalar) for scalar in scalars],
55 total,
56 gutter,
57 Size(40, 20),
58 Size(80, 24),
59 )
60 == result
61 )
62
63
64async def test_resolve_fraction_unit():

Callers

nothing calls this directly

Calls 3

resolveFunction · 0.90
SizeClass · 0.90
parseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…