criar testes

This commit is contained in:
2024-09-11 00:22:05 +01:00
parent f5ffe32251
commit be09be9a03

12
modules/testes.py Normal file
View File

@ -0,0 +1,12 @@
import unittest
import agente
class TestClasseAgente(unittest.TestCase):
def test_criarAgente(self):
obj_agente = agente.Agente(aleatorio=True)
self.assertTrue(type(obj_agente), 'Agente')
if __name__ == '__main__':
unittest.main()