Skip to content

Trigonometry testing #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Conversation

AzeezIsh
Copy link
Contributor

This PR introduces a suite of unit tests for trigonometric_functions.py located within the within the mathematical functions directory. The primary functions in this file are based around all inverse and standard trigonometry functions (tan/sin/cos).

Functionality Across Diverse Shapes and Types: Verification is done across all supported data types, including integers, unsigned integers, boolean, and different floating-point precisions, for arrays ranging from scalar to four-dimensional.

Error Handling for Unsupported Types: The tests confirm that using unsupported data types, specifically complex numbers and 64-bit floats, appropriately raises runtime errors, highlighting the library's error management capability.

@AzeezIsh AzeezIsh closed this Mar 28, 2024
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