MCPcopy
hub / github.com/Textualize/rich / test_measure_renderables

Function test_measure_renderables

tests/test_measure.py:22–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22def test_measure_renderables():
23 console = Console()
24 assert measure_renderables(console, console.options, "") == Measurement(0, 0)
25 assert measure_renderables(
26 console, console.options.update_width(0), "hello"
27 ) == Measurement(0, 0)
28
29
30def test_clamp():

Callers

nothing calls this directly

Calls 4

ConsoleClass · 0.90
measure_renderablesFunction · 0.90
MeasurementClass · 0.90
update_widthMethod · 0.80

Tested by

no test coverage detected