MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / test_library_headers

Function test_library_headers

src/analysis/header.rs:396–405  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

394
395#[test]
396fn test_library_headers() {
397 let deopt = Deopt::new("c-ares".to_string()).unwrap();
398 let headers = get_include_lib_headers(&deopt).unwrap();
399 let sys_headers = get_include_sys_headers(&deopt);
400 assert_eq!(
401 headers,
402 vec!["aom/aomdx.h", "aom/aom_decoder.h", "aom/aomcx.h"]
403 );
404 assert_eq!(sys_headers, &vec!["stddef.h", "stdint.h", "inttypes.h"]);
405}
406
407#[test]
408fn test_library_header() {

Callers

nothing calls this directly

Calls 2

get_include_lib_headersFunction · 0.85
get_include_sys_headersFunction · 0.85

Tested by

no test coverage detected