extern crate diff_hashmap_list;
use diff_hashmap_list::{compare_hash_map, Value};
use bencher::{benchmark_group, benchmark_main, Bencher};
fn benchmark(bencher: &mut Bencher) {
let left = [("unchanged".to_string(), 1.into()), ("removed".to_string(), 2.into()), ("changed".to_string(), Value::Int(3))].into();
let right = [("unchanged".into(), "1".into()), ("changed".into(), 5.into()), ("added".into(), 4.into())].into();
bencher.iter(|| compare_hash_map(&left, &right));
}
benchmark_group!(benches, benchmark);
benchmark_main!(benches);