Skip to content

Commit

Permalink
add test of taxbrain with corp dist
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Apr 1, 2024
1 parent cec0eca commit 4d18b0a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions taxbrain/tests/test_brain.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,25 @@ def test_baseline_policy():
tb.run()


def test_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,
corp_revenue=corp_revenue,
)
tb.run()


def test_dynamic_run(tb_dynamic):
tb_dynamic.run()

Expand Down

0 comments on commit 4d18b0a

Please sign in to comment.