pub fn has_tests(source: &str) -> bool
True if the source contains at least one #[test] function.
#[test]