Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_empty_source
Function
test_empty_source
atomic-semantic/src/parsers/cpp.rs:1092–1096 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1090
1091
#[test]
1092
fn test_empty_source() {
1093
let mut parser = CppParser::new();
1094
let entities = parser.extract(
""
,
"empty.cpp"
);
1095
assert!(entities.is_empty());
1096
}
1097
1098
#[test]
1099
fn test_line_numbers() {
Callers
nothing calls this directly
Calls
1
extract
Method · 0.45
Tested by
no test coverage detected