feat(chunks): aggiunge segmenter.py — token stream → Block[]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import pytest
|
||||
from chunks.parser import parse
|
||||
from chunks.config import ChunkerConfig
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def cfg():
|
||||
return ChunkerConfig()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def parse_md():
|
||||
def _parse(md: str):
|
||||
return parse(md)
|
||||
return _parse
|
||||
Reference in New Issue
Block a user