File size: 2,170 Bytes
80c0c44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
��============================= test session starts =============================

platform win32 -- Python 3.13.5, pytest-9.0.2, pluggy-1.6.0

rootdir: C:\Users\megaa\Downloads\drone_env

configfile: pyproject.toml

plugins: anyio-4.12.1

collected 20 items



tests\test_env.py ....F...............                                   [100%]



================================== FAILURES ===================================

___________________________ test_check_move_blocked ___________________________



    def test_check_move_blocked():

        grid = [["building","road"], ["road","road"]]

        outcome, cell = check_move(grid, 0, 0, 2, 2)

>       assert outcome == "blocked"

E       AssertionError: assert 'building' == 'blocked'

E         

E         - blocked

E         + building



tests\test_env.py:61: AssertionError

=========================== short test summary info ===========================

FAILED tests/test_env.py::test_check_move_blocked - AssertionError: assert 'b...

======================== 1 failed, 19 passed in 4.48s =========================