introduzir testes na app

This commit is contained in:
2026-04-05 22:29:04 +01:00
parent d6daa2ef49
commit 3124ad47d8
2 changed files with 7 additions and 0 deletions

7
tests/test_mapa.py Normal file
View 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)}"