Skip to content

Commit bbd3ab3

Browse files
Antigravity Agentclaude
andcommitted
test(cron): add 12 real function tests
- Removed 356 lines of duplicate/broken tests - Added 12 new tests testing actual calculation logic: * isSick() returns correct bool based on health/hunger/rest thresholds * healthStatus() returns correct status strings * CronSchedule.nextRun() calculates future timestamps correctly * buildProgressBar() returns exact strings for edge cases * decay() reduces stats with proper saturation * CronStatus.format() generates expected output format All 67 tests pass. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c3bc3df commit bbd3ab3

1 file changed

Lines changed: 83 additions & 356 deletions

File tree

0 commit comments

Comments
 (0)