Skip to content

Commit 2ee588b

Browse files
author
Vibe Kanban
committed
Fix test
1 parent bcb5563 commit 2ee588b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/patrimoine/livret_epargne_populaire/plafond.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
nbptr:
3232
2023: 1.5
3333
output:
34-
livret_epargne_populaire_plafond: 33_723 # ceil(1.8 * (15_409 + 3_326))
34+
# plafond = min_(1, nbptr) * bareme.valeur_de_base + 2 * (min_(max_(0, nbptr - 1), 0.5) * bareme.premiere_demi_part + max_(0, nbptr - 1.5) * bareme.demi_part_supplementaire)
35+
# return ceil(coef * plafond)
36+
# 1.8 * (1 * 15_409 + 2*0.5*4_241 + 0*3_326) = 35_370
37+
livret_epargne_populaire_plafond: 35_370 # ceil(1.8 * (15_409 + 4_241))
3538

3639
- name: "Livret d'épargne populaire - Plafond Metropole 2026"
3740
period: 2026-05

0 commit comments

Comments
 (0)