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

Function test_corpus_evoluation

src/execution/sanitize.rs:442–450  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

440
441 #[test]
442 fn test_corpus_evoluation() -> Result<()> {
443 crate::config::Config::init_test("cjson");
444 let deopt = Deopt::new("cjson".to_string())?;
445 let work_path = deopt.get_work_seed_by_id(1)?;
446 let executor = Executor::new(&deopt)?;
447 let res = executor.evolve_corpus(&work_path)?;
448 println!("{res:?}");
449 Ok(())
450 }
451}

Callers

nothing calls this directly

Calls 2

get_work_seed_by_idMethod · 0.80
evolve_corpusMethod · 0.80

Tested by

no test coverage detected