From 33663b8eddb081e99f9be0e723f2eaa8baa1f40b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 8 Oct 2015 19:35:58 +0000 Subject: Improve test coverage git-svn-id: http://svn.drobilla.net/sord/trunk@338 3d64ff67-21c5-427c-a301-fe4f08042e5a --- src/sord_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sord_test.c') diff --git a/src/sord_test.c b/src/sord_test.c index 438a393..ea258b0 100644 --- a/src/sord_test.c +++ b/src/sord_test.c @@ -206,10 +206,11 @@ test_read(SordWorld* world, SordModel* sord, SordNode* g, SordNode* gb_hello = sord_new_literal(world, NULL, s, "en-gb"); SordNode* us_hello = sord_new_literal(world, NULL, s, "en-us"); -#define NUM_PATTERNS 17 +#define NUM_PATTERNS 18 QueryTest patterns[NUM_PATTERNS] = { { { 0, 0, 0 }, (n_quads * n_objects_per) + 12 }, + { { uri(world, 1), 0, 0 }, 2 }, { { uri(world, 9), uri(world, 9), uri(world, 9) }, 0 }, { { uri(world, 1), uri(world, 2), uri(world, 4) }, 1 }, { { uri(world, 3), uri(world, 4), uri(world, 0) }, 2 }, -- cgit v1.2.1