Add new test
This commit is contained in:
1 parent
768d41ddb6
commit
47babf5689
1 file changed
+4
-1
@@ -85,7 +85,10 @@ static void test_pair(void)
|
|||||||
assert (pair_key_p(p));
|
assert (pair_key_p(p));
|
||||||
i = pair_get_key(p);
|
i = pair_get_key(p);
|
||||||
assert (*i == 15);
|
assert (*i == 15);
|
||||||
|
|
||||||
|
pair_clean(p);
|
||||||
|
assert (pair_empty_p(p));
|
||||||
|
|
||||||
pair_clear(p2);
|
pair_clear(p2);
|
||||||
pair_clear(p);
|
pair_clear(p);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user