From 44797c4c252a01870745bfbb69cbfed8075687aa Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sun, 3 Mar 2024 22:28:20 +0100 Subject: tests (piece-table): start testing --- tests/piece-table-print.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/piece-table-print.c (limited to 'tests/piece-table-print.c') diff --git a/tests/piece-table-print.c b/tests/piece-table-print.c new file mode 100644 index 0000000..2b927be --- /dev/null +++ b/tests/piece-table-print.c @@ -0,0 +1,9 @@ +#include "../src/piece-table.h" + +int main() { + piece_table pt; + init_piece_table(&pt, "Hola esto es un texto de prueba"); + print_piece_table(&pt); + free_piece_table(&pt); + return 0; +} -- cgit v1.2.3