(t *testing.T)
| 39 | } |
| 40 | |
| 41 | func TestManager_GetMemoryContext(t *testing.T) { |
| 42 | dir := t.TempDir() |
| 43 | mgr := NewManager(dir, DefaultConfig(), testLogger()) |
| 44 | |
| 45 | _ = mgr.AppendLongTerm("- Important architectural decision about memory") |
| 46 | _ = mgr.WriteDailyNote("Worked on memory system today") |
| 47 | |
| 48 | ctx := mgr.GetMemoryContext() |
| 49 | if ctx == "" { |
| 50 | t.Error("expected non-empty memory context") |
| 51 | } |
| 52 | if !strings.Contains(ctx, "Important architectural") { |
| 53 | t.Error("expected fact in context") |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | func TestManager_ProcessExtraction(t *testing.T) { |
| 58 | dir := t.TempDir() |
nothing calls this directly
no test coverage detected