From a624e3343e1183aa0f2d4b05afea50eef348651a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 14 May 2024 22:53:08 +0200 Subject: Test more cases --- test/norm-nfd-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/norm-nfd-test.c b/test/norm-nfd-test.c index 00b53d2..02fde47 100644 --- a/test/norm-nfd-test.c +++ b/test/norm-nfd-test.c @@ -80,8 +80,8 @@ test(struct u8view sv, int id) DAPUSH(&columns, ((struct u8view){s.buf, s.len})); } - for (size_t i = 0; i < 3; i++) { - size_t base = 2; + for (size_t i = 0; i < 5; i++) { + size_t base = i < 3 ? 2 : 4; struct u8view normd = {}; normd.p = u8norm_nfd(&normd.len, columns.buf[i], alloc_arena, &ctx); if (!u8eq(columns.buf[base], normd)) { -- cgit v1.2.3