From a8c9f4d653aa6fc0ea467d66a27220b60dbaef9b Mon Sep 17 00:00:00 2001 From: Richard Evans Date: Thu, 3 Oct 2024 02:06:31 -0600 Subject: [PATCH] Updated tests --- .../states/sc/tax/income/additions/sc_additions.yaml | 12 ++++++++++++ .../tax/income/additions/sc_state_tax_addback.yaml | 2 +- .../college_tuition/sc_tuition_credit_eligible.yaml | 12 ++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 fiscalsim_us/tests/policy/baseline/gov/states/sc/tax/income/additions/sc_additions.yaml create mode 100644 fiscalsim_us/tests/policy/baseline/gov/states/sc/tax/income/credits/college_tuition/sc_tuition_credit_eligible.yaml diff --git a/fiscalsim_us/tests/policy/baseline/gov/states/sc/tax/income/additions/sc_additions.yaml b/fiscalsim_us/tests/policy/baseline/gov/states/sc/tax/income/additions/sc_additions.yaml new file mode 100644 index 000000000..a4d34e95e --- /dev/null +++ b/fiscalsim_us/tests/policy/baseline/gov/states/sc/tax/income/additions/sc_additions.yaml @@ -0,0 +1,12 @@ +- name: Test case 1 # SALT has a cap of 5000 for seperate + period: 2021 + input: + filing_status: SEPARATE + tax_unit_itemizes: true + medical_expense_deduction: 6_000 # Goes into itemized_taxable_income_deductions + standard_deduction: 4_000 + real_estate_taxes: 3_000 + prior_year_state_income_tax_paid: 1_000 + state_code: SC + output: + sc_additions: 1_000 diff --git a/fiscalsim_us/tests/policy/baseline/gov/states/sc/tax/income/additions/sc_state_tax_addback.yaml b/fiscalsim_us/tests/policy/baseline/gov/states/sc/tax/income/additions/sc_state_tax_addback.yaml index 17609f62d..9057c3e0a 100644 --- a/fiscalsim_us/tests/policy/baseline/gov/states/sc/tax/income/additions/sc_state_tax_addback.yaml +++ b/fiscalsim_us/tests/policy/baseline/gov/states/sc/tax/income/additions/sc_state_tax_addback.yaml @@ -1,4 +1,4 @@ -- name: Test case 1 #salt has a cap of 5000 for seperate +- name: Test case 1 # SALT has a cap of 5000 for seperate period: 2021 input: filing_status: SEPARATE diff --git a/fiscalsim_us/tests/policy/baseline/gov/states/sc/tax/income/credits/college_tuition/sc_tuition_credit_eligible.yaml b/fiscalsim_us/tests/policy/baseline/gov/states/sc/tax/income/credits/college_tuition/sc_tuition_credit_eligible.yaml new file mode 100644 index 000000000..65df70e78 --- /dev/null +++ b/fiscalsim_us/tests/policy/baseline/gov/states/sc/tax/income/credits/college_tuition/sc_tuition_credit_eligible.yaml @@ -0,0 +1,12 @@ +- name: Basic calculation, not eligible + period: 2022 + input: + people: + person1: + is_tax_unit_head: true + households: + household: + members: [person1] + state_code: TX + output: + sc_tuition_credit_eligible: false