Add a test

This commit is contained in:
Patrick Pelissier committed 2017-04-13 22:16:44 +02:00
1 parent 2523e53a72
commit bc9afdabed
1 file changed
+1
+1
View File
@@ -46,6 +46,7 @@ static void test_uint(void)
assert (snapshot_uint_look(t) != p_r);
assert (*snapshot_uint_look(t) == 0);
p_r = snapshot_uint_look(t);
assert (*p_r == 0);
p_w = snapshot_uint_take(t);
*p_w = 2;