summaryrefslogtreecommitdiff
path: root/tests/src/hashmap_main.rs
blob: 45dfa6e261d8132702a2f08011ed74d2cb0427a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod hashmap;
mod hashmap_utils;

use crate::hashmap::*;
use crate::hashmap_utils::*;

pub fn insert_on_disk(key: Key, value: u64) {
    // Deserialize
    let mut hm = deserialize();
    // Update
    hm.insert(key, value);
    // Serialize
    serialize(hm);
}

pub fn main() {}