Skip to content
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

Hyperbolic Functions Testing #34

Merged
merged 4 commits into from
Apr 12, 2024
Merged

Conversation

AzeezIsh
Copy link
Contributor

This PR introduces a suite of unit tests for hyperbolic_functions.py located within the within the mathematical functions directory. The primary functions in this file are based around all inverse and standard hyperbolic 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.

@syurkevi syurkevi merged commit 2a68b8e into arrayfire:master Apr 12, 2024
0 of 3 checks passed
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.

2 participants