should-i-rent/crates/immo-core
Marcel Enguehard bf5c463e93 Add generated loan offer fixtures for known-answer tests
Four reference offers with their full amortisation schedules, 960 instalment
lines in total, emitted by scripts/loan_schedule.py --rust. The generator was
verified against a real 2020 Caisse d'Epargne amortisation table and
cross-checked against the ANIL simulator, so the expected values come from
outside this crate rather than from its own output.

Do not hand-edit loan_offer_fixture.rs; regenerate it.

The module is #[cfg(test)] so the fixtures never reach the wasm build. Nothing
consumes them yet.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-23 15:18:29 +02:00
..
src Add generated loan offer fixtures for known-answer tests 2026-08-23 15:18:29 +02:00
Cargo.toml Add LoanOffer with validating constructor 2026-07-30 15:09:49 +02:00