From b1eafb901a275a7bcefe69f9c7f8a73db95280c9 Mon Sep 17 00:00:00 2001 From: Sergio Veloza Date: Wed, 20 Nov 2024 00:18:56 -0500 Subject: [PATCH] Delete Test --- Fractal/__init__.py | 3 --- setup.py | 13 ------------- tests/__init__.py | 0 tests/test_fractal.py | 20 -------------------- 4 files changed, 36 deletions(-) delete mode 100644 Fractal/__init__.py delete mode 100644 setup.py delete mode 100644 tests/__init__.py delete mode 100644 tests/test_fractal.py diff --git a/Fractal/__init__.py b/Fractal/__init__.py deleted file mode 100644 index c6ab7f5..0000000 --- a/Fractal/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .fractal import Tree, SmoothPosition, map_range - -__all__ = ['Tree', 'SmoothPosition', 'map_range'] \ No newline at end of file diff --git a/setup.py b/setup.py deleted file mode 100644 index 6a7c2e3..0000000 --- a/setup.py +++ /dev/null @@ -1,13 +0,0 @@ -from setuptools import setup - -setup( - name="fractal", - version="1.0.0", - py_modules=['fractal'], - install_requires=[ - 'pygame==2.5.2', - 'opencv-python==4.9.0.80', - 'mediapipe==0.10.11', - 'numpy<2.0.0' - ], -) \ No newline at end of file diff --git a/tests/__init__.py b/tests/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_fractal.py b/tests/test_fractal.py deleted file mode 100644 index cf839aa..0000000 --- a/tests/test_fractal.py +++ /dev/null @@ -1,20 +0,0 @@ -import pytest -import sys -import os - -# Agregar el directorio raíz al path de Python -sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) - -from fractal import Tree, SmoothPosition, map_range - -def test_tree_initialization(): - """Prueba la inicialización básica de un árbol""" - tree = Tree(100, 100, 200, 0.65, 90, 20) - assert tree.x == 100 - assert tree.y == 100 - -def test_tree_properties(): - """Prueba las propiedades del árbol""" - tree = Tree(100, 100, 200, 0.65, 90, 20) - assert tree.size == 200 - assert tree.decay == 0.65 \ No newline at end of file