mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
9 lines
220 B
Python
9 lines
220 B
Python
from textual._spatial_map import SpatialMap
|
|
from textual.geometry import Region
|
|
|
|
|
|
def test_region_to_grid():
|
|
spatial_map = SpatialMap()
|
|
|
|
assert list(spatial_map._region_to_grid(Region(0, 0, 10, 10))) == [(0, 0)]
|