fn default_configuration() {
    let config = Configuration::default();
    assert_eq!(config.wordlist, wordlist());
    assert_eq!(config.proxy, String::new());
    assert_eq!(config.target_url, String::new());
    assert_eq!(config.time_limit, String::new());
    assert_eq!(config.resume_from, String::new());
    assert_eq!(config.debug_log, String::new());
    assert_eq!(config.config, String::new());
    assert_eq!(config.replay_proxy, String::new());
    assert_eq!(config.status_codes, status_codes());
    assert_eq!(config.replay_codes, config.status_codes);
    assert!(config.replay_client.is_none());
    assert_eq!(config.threads, threads());
    assert_eq!(config.depth, depth());
    assert_eq!(config.timeout, timeout());
    assert_eq!(config.verbosity, 0);
    assert_eq!(config.scan_limit, 0);
    assert!(!config.silent);
    assert!(!config.quiet);
    assert_eq!(config.output_level, OutputLevel::Default);
    assert!(!config.dont_filter);
    assert!(!config.auto_tune);
    assert!(!config.auto_bail);
    assert_eq!(config.requester_policy, RequesterPolicy::Default);
    assert!(!config.no_recursion);
    assert!(!config.random_agent);
    assert!(!config.json);
    assert!(config.save_state);
    assert!(!config.stdin);
    assert!(!config.add_slash);
    assert!(!config.redirects);
    assert!(!config.extract_links);
    assert!(!config.insecure);
    assert!(config.regex_denylist.is_empty());
    assert_eq!(config.queries, Vec::new());
    assert_eq!(config.filter_size, Vec::<u64>::new());
    assert_eq!(config.extensions, Vec::<String>::new());
    assert_eq!(config.url_denylist, Vec::<Url>::new());
    assert_eq!(config.filter_regex, Vec::<String>::new());
    assert_eq!(config.filter_similar, Vec::<String>::new());
    assert_eq!(config.filter_word_count, Vec::<usize>::new());
    assert_eq!(config.filter_line_count, Vec::<usize>::new());
    assert_eq!(config.filter_status, Vec::<u16>::new());
    assert_eq!(config.headers, HashMap::new());
}
/// test that all default config values meet expectations
test that all default config values meet expectations
test that all default config values meet expectations
fn default_configuration() {
    let config = Configuration::default();
    assert_eq!(config.wordlist, wordlist());
    assert_eq!(config.proxy, String::new());
    assert_eq!(config.target_url, String::new());
    assert_eq!(config.time_limit, String::new());
    assert_eq!(config.resume_from, String::new());
    assert_eq!(config.debug_log, String::new());
    assert_eq!(config.config, String::new());
    assert_eq!(config.replay_proxy, String::new());
    assert_eq!(config.status_codes, status_codes());
    assert_eq!(config.replay_codes, config.status_codes);
    assert!(config.replay_client.is_none());
    assert_eq!(config.threads, threads());
    assert_eq!(config.depth, depth());
    assert_eq!(config.timeout, timeout());
    assert_eq!(config.verbosity, 0);
    assert_eq!(config.scan_limit, 0);
    assert!(!config.silent);
    assert!(!config.quiet);
    assert_eq!(config.output_level, OutputLevel::Default);
    assert!(!config.dont_filter);
    assert!(!config.auto_tune);
    assert!(!config.auto_bail);
    assert_eq!(config.requester_policy, RequesterPolicy::Default);
    assert!(!config.no_recursion);
    assert!(!config.random_agent);
    assert!(!config.json);
    assert!(config.save_state);
    assert!(!config.stdin);
    assert!(!config.add_slash);
    assert!(!config.redirects);
    assert!(!config.extract_links);
    assert!(!config.insecure);
    assert!(config.regex_denylist.is_empty());
    assert_eq!(config.queries, Vec::new());
    assert_eq!(config.filter_size, Vec::<u64>::new());
    assert_eq!(config.extensions, Vec::<String>::new());
    assert_eq!(config.url_denylist, Vec::<Url>::new());
    assert_eq!(config.filter_regex, Vec::<String>::new());
    assert_eq!(config.filter_similar, Vec::<String>::new());
    assert_eq!(config.filter_word_count, Vec::<usize>::new());
    assert_eq!(config.filter_line_count, Vec::<usize>::new());
    assert_eq!(config.filter_status, Vec::<u16>::new());
    assert_eq!(config.headers, HashMap::new());
}
fn default_configuration ( ) { let config = Configuration :: default ( ) ; assert_eq ! ( config wordlist wordlist ( ) ) ; assert_eq ! ( config proxy String new ( ) ) ; assert_eq ! ( config target_url String new ( ) ) ; assert_eq ! ( config time_limit String new ( ) ) ; assert_eq ! ( config resume_from String new ( ) ) ; assert_eq ! ( config debug_log String new ( ) ) ; assert_eq ! ( config config String new ( ) ) ; assert_eq ! ( config replay_proxy String new ( ) ) ; assert_eq ! ( config status_codes status_codes ( ) ) ; assert_eq ! ( config replay_codes config status_codes ) ; assert ! ( config replay_client is_none ( ) ) ; assert_eq ! ( config threads threads ( ) ) ; assert_eq ! ( config depth depth ( ) ) ; assert_eq ! ( config timeout timeout ( ) ) ; assert_eq ! ( config verbosity 0 ) ; assert_eq ! ( config scan_limit 0 ) ; assert ! ( config silent ) ; assert ! ( config quiet ) ; assert_eq ! ( config output_level OutputLevel Default ) ; assert ! ( config dont_filter ) ; assert ! ( config auto_tune ) ; assert ! ( config auto_bail ) ; assert_eq ! ( config requester_policy RequesterPolicy Default ) ; assert ! ( config no_recursion ) ; assert ! ( config random_agent ) ; assert ! ( config json ) ; assert ! ( config save_state ) ; assert ! ( config stdin ) ; assert ! ( config add_slash ) ; assert ! ( config redirects ) ; assert ! ( config extract_links ) ; assert ! ( config insecure ) ; assert ! ( config regex_denylist is_empty ( ) ) ; assert_eq ! ( config queries Vec new ( ) ) ; assert_eq ! ( config filter_size Vec u64 new ( ) ) ; assert_eq ! ( config extensions Vec String new ( ) ) ; assert_eq ! ( config url_denylist Vec Url new ( ) ) ; assert_eq ! ( config filter_regex Vec String new ( ) ) ; assert_eq ! ( config filter_similar Vec String new ( ) ) ; assert_eq ! ( config filter_word_count Vec usize new ( ) ) ; assert_eq ! ( config filter_line_count Vec usize new ( ) ) ; assert_eq ! ( config filter_status Vec u16 new ( ) ) ; assert_eq ! ( config headers HashMap new ( ) ) ; }
test that all default config values meet expectations
test that all default config values meet expectations