Add comprehensive tests for CalculateTrend function: - TestCalculateTrend_InsufficientData: <5 samples returns nil - TestCalculateTrend_IncreasingTrend: detects critical/warning trends - TestCalculateTrend_DecreasingTrend: correctly identifies declining usage - TestCalculateTrend_StableTrend: stable patterns return DaysToFull=-1 - TestFormatDays: human-readable time formatting |
||
|---|---|---|
| .. | ||
| store.go | ||
| store_extended_test.go | ||
| store_test.go | ||