rcourtman
b752773924
test(baseline): add tests for trend prediction
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
2025-12-21 11:31:58 +00:00
..
2025-12-21 11:31:58 +00:00
2025-12-20 20:25:20 +00:00
2025-12-20 20:25:20 +00:00
2025-12-20 20:25:20 +00:00
2025-12-20 20:25:20 +00:00
2025-12-21 00:14:20 +00:00
2025-12-20 20:25:20 +00:00
2025-12-19 22:49:30 +00:00
2025-12-20 20:25:20 +00:00
2025-12-17 12:47:36 +00:00
2025-12-17 12:47:36 +00:00
2025-12-06 23:46:08 +00:00
2025-12-17 12:47:36 +00:00
2025-12-10 08:35:24 +00:00
2025-12-19 21:53:06 +00:00
2025-12-21 00:14:20 +00:00
2025-12-17 12:47:36 +00:00
2025-12-12 11:26:31 +00:00
2025-12-12 11:29:47 +00:00
2025-12-06 23:46:08 +00:00
2025-12-12 14:26:10 +00:00
2025-12-20 20:25:20 +00:00
2025-12-12 09:45:57 +00:00
2025-12-19 21:53:06 +00:00
2025-12-20 20:25:20 +00:00
2025-12-20 20:25:20 +00:00
2025-12-19 21:53:06 +00:00
2025-12-20 20:25:20 +00:00
2025-12-21 10:32:02 +00:00
2025-12-21 10:32:02 +00:00
2025-12-20 20:25:20 +00:00
2025-12-20 20:25:20 +00:00
2025-12-12 13:49:37 +00:00
2025-12-19 22:59:52 +00:00
2025-12-12 09:45:57 +00:00
2025-12-19 21:53:06 +00:00
2025-12-19 21:53:06 +00:00
2025-12-20 20:25:20 +00:00
2025-12-20 20:25:20 +00:00
2025-12-21 10:32:02 +00:00
2025-12-12 14:11:28 +00:00
2025-12-09 16:27:46 +00:00
2025-12-06 23:46:08 +00:00
2025-12-09 16:27:46 +00:00
2025-12-20 20:25:20 +00:00
2025-12-21 00:14:20 +00:00
2025-12-10 08:35:24 +00:00
2025-12-21 10:32:02 +00:00
2025-12-21 10:32:02 +00:00
2025-12-19 21:53:06 +00:00
2025-12-19 21:53:06 +00:00
2025-12-21 10:52:54 +00:00
2025-12-06 23:46:08 +00:00