# Create test.py
import chunkhive

print("✅ CodeAtlas v" + chunkhive.__version__)

# Test Path import
from pathlib import Path
print("✅ Path imported")

# Test creating a chunk
chunk = chunkhive.CodeChunk(
    chunk_id='test',
    file_path='test.py',
    language='python',
    chunk_type='code',
    code='print(1)',
    ast=chunkhive.ChunkAST(symbol_type='code'),
    span=chunkhive.ChunkSpan(),
    hierarchy=chunkhive.ChunkHierarchy()
)
print(f"✅ Created chunk: {chunk.chunk_id}")

print("✅ All tests passed!")
