Skip to content

Conversation

NiloySaha84
Copy link

Added Unit Tests and Renamed Module for Import Compatibility

What was added
• Created a test_basics.py file using Python’s built-in unittest framework.
• Added unit tests for:
• cuber() function — to validate cube calculation and default behavior.
• solve_triangle() function — to verify correct area and perimeter output.

These tests improve code reliability, enable automated testing, and make the project more maintainable and contribution-friendly.

Why the filename was changed

The original file name (Python in 90 minutes.py) contained spaces, which are not valid in Python module names. This caused errors when trying to import functions for testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant