#include "hash_table.h"
#include <stdio.h>

int main() {
    HashTable* ht = ht_create();
    
    ht_insert(ht, "apple", 10);
    ht_insert(ht, "banana", 20);
    ht_insert(ht, "cherry", 30);
    
    int value;
    if (ht_get(ht, "apple", &value)) {
        printf("Value for 'apple': %d\n", value);
    }
    
    ht_delete(ht, "banana");
    printf("Size: %d\n", ht->size);
    
    ht_free(ht);
    return 0;
}