summaryrefslogtreecommitdiffstats
path: root/src/sord_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-08 19:35:58 +0000
committerDavid Robillard <d@drobilla.net>2015-10-08 19:35:58 +0000
commit33663b8eddb081e99f9be0e723f2eaa8baa1f40b (patch)
tree485133c1d34797571c47a8e664a1952eb6f94bfb /src/sord_test.c
parent78e5a88aab425d0419b25de8d23b53a6e2661fe5 (diff)
downloadsord-33663b8eddb081e99f9be0e723f2eaa8baa1f40b.tar.gz
sord-33663b8eddb081e99f9be0e723f2eaa8baa1f40b.tar.bz2
sord-33663b8eddb081e99f9be0e723f2eaa8baa1f40b.zip
Improve test coverage
git-svn-id: http://svn.drobilla.net/sord/trunk@338 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sord_test.c')
-rw-r--r--src/sord_test.c3
1 files changed, 2 insertions, 1 deletions
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 },