should-i-rent/crates/immo-core/src
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
..
fixtures Add generated loan offer fixtures for known-answer tests 2026-08-23 15:18:29 +02:00
euros.rs Add impl Add for Euros 2026-08-23 15:18:08 +02:00
lib.rs Add generated loan offer fixtures for known-answer tests 2026-08-23 15:18:29 +02:00
loan_offer.rs Store the annual nominal rate as a fraction, not a percentage 2026-08-23 15:17:15 +02:00