Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # --------- tasks/escher_tasks/task_6__secret_room.py ------
- def secret_room(number):
- return 1
- # ------- tests/test_escher_tasks/test_task_6__secret_room.py ------
- from tasks.escher_tasks.task_6__secret_room import secret_room
- def test_secret_room():
- assert secret_room(5) == 1 # five, four, one, three, two
- assert secret_room(3) == 2 # one, three, two
- assert secret_room(1000) == 551
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement