Signed-off-by: Tomek Grabiec <[email protected]>
---
test/vm/radix-tree-test.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/test/vm/radix-tree-test.c b/test/vm/radix-tree-test.c
index 1a8d70b..afa721e 100644
--- a/test/vm/radix-tree-test.c
+++ b/test/vm/radix-tree-test.c
@@ -2,17 +2,17 @@
* Copyright (C) 2009 Tomasz Grabiec
*/
+#include <vm/radix-tree.h>
#include <libharness.h>
#include <limits.h>
-#include <vm/radix-tree.h>
-void test_tree_insert_and_lookup(void)
+void test_radix_tree_insert_and_lookup(void)
{
- unsigned long key;
struct radix_tree *tree;
+ unsigned long key;
void *result;
- tree = alloc_radix_tree(2, sizeof(key)*8);
+ tree = alloc_radix_tree(2, sizeof(key) * 8);
key = 1;
radix_tree_insert(tree, key, (void*)0xcafebabe);
@@ -31,14 +31,14 @@ void test_tree_insert_and_lookup(void)
free_radix_tree(tree);
}
-void test_tree_remove()
+void test_radix_tree_remove(void)
{
struct radix_tree *tree;
unsigned long key;
- void *value;
void *result;
+ void *value;
- tree = alloc_radix_tree(2, sizeof(key)*8);
+ tree = alloc_radix_tree(2, sizeof(key) * 8);
key = 0xdeadbeef;
value = (void*)0xcafebabe;
@@ -54,7 +54,7 @@ void test_tree_remove()
free_radix_tree(tree);
}
-void test_tree_lookup_previous_in_the_same_node(void)
+void test_radix_tree_lookup_previous_in_the_same_node(void)
{
struct radix_tree *tree;
void *result;
--
1.6.0.6
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel