import { describe, it, expect } from 'vitest';
import { getMemoryRoot, getTopicDir } from '../paths.js';

describe('getMemoryRoot', () => {
  it('returns .boocode/memory under project root', () => {
    expect(getMemoryRoot('/proj')).toBe('/proj/.boocode/memory');
  });
});

describe('getTopicDir', () => {
  it('returns project/ under memory root', () => {
    expect(getTopicDir('/r/.boocode/memory', 'project')).toBe('/r/.boocode/memory/project');
  });
});
