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
use step instead of stairs
hbui
2024-07-22
1140a81f6f2087def8194ca9986f393417d17707
[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
()