diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-01-07 20:55:38 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-01-07 20:55:38 +0100 |
commit | fc60c98b2bf9b6de65a5c1e4afb97e49587e8e31 (patch) | |
tree | 9f21785370d001d1fad32248471a9850d713756b /tests | |
parent | 6448e4f22f2132aa7d277f30be134794531b5ae0 (diff) |
par: piece-table: implement insert and more
Diffstat (limited to 'tests')
-rw-r--r-- | tests/piece-table.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/piece-table.scm b/tests/piece-table.scm index 8f3af80..d1fa32a 100644 --- a/tests/piece-table.scm +++ b/tests/piece-table.scm @@ -12,8 +12,9 @@ (test-begin "insert") (define table (make-piece-table "HOLA")) - (piece-table-insert! table 2 #\9) + (piece-table-insert! table 2 "90") (test-equal #\9 (piece-table-index table 2)) + (test-equal #\0 (piece-table-index table 3)) (test-end "insert") (test-begin "delete") |