Skip to content

Commit

Permalink
test dynamic run with corp incidence
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Apr 2, 2024
1 parent dc723a2 commit 627401e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions taxbrain/tests/test_brain.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,26 @@ def test_run_corporate_distribution():
tb.run()


def test_dynamic_run_corporate_distribution():
"""
Tests the taxbrain.run method with the distribution of corporate
income tax revenue.
"""
base = {"II_em": {2019: 0}}
reform = {"II_em": {2025: 2000}}
corp_revenue = [1_000_000_000, 2_000_000_000]
tb = TaxBrain(
2018,
2019,
use_cps=True,
reform=reform,
base_policy=base,
behavior={"sub": 0.25},
corp_revenue=corp_revenue,
)
tb.run()


def test_dynamic_run(tb_dynamic):
tb_dynamic.run()

Expand Down

0 comments on commit 627401e

Please sign in to comment.