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
gui ok
hbui
2024-07-21
f12ecb67472aa2453d3b1b3fb68e4eb9521aee77
[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
()