[test] minor, c style comments
This commit is contained in:
parent
afdbf960d6
commit
062f5d6e7a
|
@ -174,12 +174,12 @@ main (int argc, char **argv)
|
||||||
| hb_reduce ([&] (hb_map_t *acc, hb_set_t *value) -> hb_map_t *
|
| hb_reduce ([&] (hb_map_t *acc, hb_set_t *value) -> hb_map_t *
|
||||||
{
|
{
|
||||||
hb_map_set (acc, temp2++, hb_set_get_population (value));
|
hb_map_set (acc, temp2++, hb_set_get_population (value));
|
||||||
// This is not a memory managed language, take care!
|
/* This is not a memory managed language, take care! */
|
||||||
hb_set_destroy (value);
|
hb_set_destroy (value);
|
||||||
return acc;
|
return acc;
|
||||||
}, hb_map_create ())
|
}, hb_map_create ())
|
||||||
;
|
;
|
||||||
// The result should be something like 0->10, 1->11, ..., 9->19
|
/* The result should be something like 0->10, 1->11, ..., 9->19 */
|
||||||
assert (hb_map_get (result, 9) == 19);
|
assert (hb_map_get (result, 9) == 19);
|
||||||
|
|
||||||
unsigned int temp3 = 0;
|
unsigned int temp3 = 0;
|
||||||
|
|
Loading…
Reference in New Issue