mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 12:21:55 +00:00
...
This commit is contained in:
parent
3d13ad3411
commit
a5368314af
1 changed files with 5 additions and 1 deletions
|
|
@ -13,11 +13,15 @@ from kitty.fast_data_types import LineBuf
|
|||
|
||||
class TestDataTypes(BaseTest):
|
||||
|
||||
def text_line_buf(self):
|
||||
def test_line_buf(self):
|
||||
lb = LineBuf(2, 3)
|
||||
for y in range(2):
|
||||
for x in range(3):
|
||||
self.ae(lb.text_at(y, x), ' ')
|
||||
with self.assertRaises(ValueError):
|
||||
lb.text_at(1, 5)
|
||||
with self.assertRaises(ValueError):
|
||||
lb.text_at(5, 1)
|
||||
|
||||
def test_line_ops(self):
|
||||
t = 'Testing with simple text'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue