#![allow(dead_code)]
use describer::{Describe, Describer};
use std::collections::{BTreeMap, HashMap};

#[derive(Describe)]
struct MyExplicitStruct {
    map: HashMap<String, u8>,
    btree: BTreeMap<String, u8>,
}

#[derive(Describe)]
struct MyImplicitStruct {
    map: HashMap<String, u8>,
    btree: BTreeMap<String, u8>,
}

fn main() {
    assert_eq!(
        MyExplicitStruct::describe(),
        "MyExplicitStruct { map: {String: u8}, btree: {String: u8} }"
    );
    assert_eq!(
        MyImplicitStruct::describe(),
        "MyImplicitStruct { map: {String: u8}, btree: {String: u8} }"
    );
}
