Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ----------- tasks/escher_tasks/task_4__stone_wall.py --------------
- def stone_wall(wall):
- return 0
- # -------------- tests/test_escher_tasks/test_task_4__stone_wall.py ---------------
- from tasks.escher_tasks.task_4__stone_wall import stone_wall
- def test_stone_wall():
- assert stone_wall('''
- ##########
- ####0##0##
- 00##0###00
- ''') == 4
- assert stone_wall('''
- #00#######
- #######0##
- 00######00
- ''') == 1
- assert stone_wall('''
- #####
- #####
- #####
- ''') == 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement