-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added test cases for TV Licence (#794)
* Update LBTT rate increase for non-primary residences * Fix SDLT description * Add documention for LTT and LBTT * Change the legend in graphs * Added test cases for TV Licence --------- Co-authored-by: Nikhil Woodruff <[email protected]>
- Loading branch information
1 parent
6f13113
commit c105122
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- bump: patch | ||
changes: | ||
added: | ||
- Test cases for TV Licence. |
20 changes: 20 additions & 0 deletions
20
policyengine_uk/tests/policy/baseline/gov/dcms/bbc/tv-licence/tv_licence.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
- name: TV Licence full price - ineligible for aged or blind discount. | ||
period: 2023 | ||
input: | ||
tv_licence_discount: 0 | ||
output: | ||
tv_licence: 159.00 | ||
|
||
- name: TV Licence half price - eligible for blind discount but not aged. | ||
period: 2023 | ||
input: | ||
tv_licence_discount: 0.5 | ||
output: | ||
tv_licence: 79.50 | ||
|
||
- name: Free TV Licence - eligible for aged discount. | ||
period: 2023 | ||
input: | ||
tv_licence_discount: 1 | ||
output: | ||
tv_licence: 0 |
44 changes: 44 additions & 0 deletions
44
policyengine_uk/tests/policy/baseline/gov/dcms/bbc/tv_licence_discount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
- name: Ineligible for any discount. | ||
period: 2023 | ||
input: | ||
age: 74 | ||
pension_credit: 0 | ||
is_blind: false | ||
output: | ||
tv_licence_discount: 0 | ||
|
||
- name: Eligible for aged discount only. | ||
period: 2023 | ||
input: | ||
age: 75 | ||
pension_credit: 1 | ||
is_blind: false | ||
output: | ||
tv_licence_discount: 1 | ||
|
||
- name: Aged over 75 but ineligible for aged discount. | ||
period: 2023 | ||
input: | ||
age: 75 | ||
pension_credit: 0 | ||
is_blind: false | ||
output: | ||
tv_licence_discount: 0 | ||
|
||
- name: Eligible for blind discount only. | ||
period: 2023 | ||
input: | ||
age: 74 | ||
pension_credit: 0 | ||
is_blind: true | ||
output: | ||
tv_licence_discount: 0.5 | ||
|
||
- name: Eligible for both aged and blind discounts. | ||
period: 2023 | ||
input: | ||
age: 75 | ||
pension_credit: 1 | ||
is_blind: true | ||
output: | ||
tv_licence_discount: 1 |