Add dict tests

This commit is contained in:
2022-08-15 17:24:31 +03:00
parent 8186b7dc34
commit 1f7ef91850
11 changed files with 220 additions and 5 deletions
+9
View File
@@ -8,13 +8,22 @@ vtype_string* string_duplicate(const vtype_string* x) { return 0; }
vtype_array* array_duplicate (const vtype_array* x) { return 0; }
vtype_list* list_duplicate (const vtype_list* x) { return 0; }
vtype_map* map_duplicate (const vtype_map* x) { return 0; }
vtype_dict* dict_duplicate (const vtype_dict* x) { return 0; }
void string_free(vtype_string* x) {}
void array_free (vtype_array* x) {}
void list_free (vtype_list* x) {}
void map_free (vtype_map* x) {}
void dict_free (vtype_dict* x) {}
int string_compare(const vtype_string* s0, const vtype_string* s1) { return random_int8(); }
int array_compare (const vtype_array* s0, const vtype_array* s1) { return random_int8(); }
int list_compare (const vtype_list* s0, const vtype_list* s1) { return random_int8(); }
int map_compare (const vtype_map* s0, const vtype_map* s1) { return random_int8(); }
int dict_compare (const vtype_dict* s0, const vtype_dict* s1) { return random_int8(); }
hash_t string_hash(const vtype_string* s) { return 0; }
hash_t array_hash (const vtype_array* s) { return 0; }
hash_t list_hash (const vtype_list* s) { return 0; }
hash_t map_hash (const vtype_map* s) { return 0; }
hash_t dict_hash (const vtype_dict* s) { return 0; }