MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_extract_paragraph_directly

Function test_extract_paragraph_directly

atomic-agent/src/record/tests.rs:303–311  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

301
302#[test]
303fn test_extract_paragraph_directly() {
304 // Direct test of extract_first_sentence_from_paragraph
305 let text = "I have created a hello world TypeScript project with Express and Jest. The project includes index.ts and package.json.";
306 let result = extract_first_sentence_from_paragraph(text);
307 assert_eq!(
308 result,
309 "I have created a hello world TypeScript project with Express and Jest."
310 );
311}
312
313#[test]
314fn test_is_abbreviation_eg() {

Callers

nothing calls this directly

Tested by

no test coverage detected