1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pub mod client;
pub mod lookup;
pub mod results;

#[cfg(test)]
mod tests {
    use crate::{sdk::options::OptionsBuilder, us_enrichment_api::client::USEnrichmentClient};

    #[test]
    fn client_test() {
        let options = OptionsBuilder::new(None).build();
        let client = USEnrichmentClient::new(options).unwrap();

        assert_eq!(
            client.client.url.to_string(),
            "https://us-enrichment.api.smarty.com/lookup".to_string()
        )
    }
}