ndfl1 0.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ndfl1-0.0.0/PKG-INFO +8 -0
- ndfl1-0.0.0/setup.cfg +4 -0
- ndfl1-0.0.0/setup.py +10 -0
- ndfl1-0.0.0/src/ndfl1.egg-info/PKG-INFO +8 -0
- ndfl1-0.0.0/src/ndfl1.egg-info/SOURCES.txt +6 -0
- ndfl1-0.0.0/src/ndfl1.egg-info/dependency_links.txt +1 -0
- ndfl1-0.0.0/src/ndfl1.egg-info/top_level.txt +1 -0
- ndfl1-0.0.0/tests/test_ndfl_basic.py +16 -0
ndfl1-0.0.0/PKG-INFO
ADDED
ndfl1-0.0.0/setup.cfg
ADDED
ndfl1-0.0.0/setup.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from ndfl import calculate_tax
|
|
2
|
+
|
|
3
|
+
def test_basic_ndfl():
|
|
4
|
+
assert calculate_tax(200_000) == 26_000
|
|
5
|
+
|
|
6
|
+
def test_basic_tier_2():
|
|
7
|
+
assert calculate_tax(3_000_000) == 402_000
|
|
8
|
+
|
|
9
|
+
def test_basic_tier_3():
|
|
10
|
+
assert calculate_tax(7_000_000) == 1_062_000
|
|
11
|
+
|
|
12
|
+
def test_basic_tier_4():
|
|
13
|
+
assert calculate_tax(30_000_000) == 5_402_000
|
|
14
|
+
|
|
15
|
+
def test_basic_tier_5():
|
|
16
|
+
assert calculate_tax(70_000_000) == 13_802_000
|