introduzir testes na app
This commit is contained in:
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
7
tests/test_mapa.py
Normal file
7
tests/test_mapa.py
Normal file
@ -0,0 +1,7 @@
|
||||
import pytest
|
||||
from modules.mapa import Mapa
|
||||
|
||||
|
||||
def test_criar_mapa_16x16():
|
||||
mapa = Mapa((16, 16))
|
||||
assert isinstance(mapa, Mapa), f"esperado 'Mapa', retornado {type(mapa)}"
|
||||
Reference in New Issue
Block a user