dashboard
repositories
filestore
activity
search
login
python-kurs
/
example-projects-2024
example-projects-2024
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
update repo
hbui
2024-07-15
f736ce6b3b90d11bac59244c89f54c8528bd27d2
[python-kurs/example-projects-2024.git]
/
oop
/
imutable-object
/
money_test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
unittest
class
MyTestCase
(
unittest
.
TestCase
):
def
test_something
(
self
):
benzin_preis
=
Money
(
12
,
5
)
milch_preis
=
Money
(
3
)
katoffel_p
=
Money
(
0
,
501
)
pass
if
__name__
==
'__main__'
:
unittest
.
main
()