arrayfire / arrayfire-binary-python-wrapper

A python thin wrapper for ArrayFire library
https://arrayfire.com
BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

Added tests for identity matrix function #18

Closed sakchal closed 6 months ago

sakchal commented 6 months ago

This PR introduces a suite of unit tests for identity.py located within the create_array directory. The primary function in this file facilitate the creation of an identity array.

Correct Array Shape: Ensures that arrays are instantiated with the intended dimensions. Data Type Accuracy: Validates that the resulting arrays strictly adhere to the specified data types. Error Handling: Assesses the functions' error handling, specifically dealing with the shape of the array

roaffix commented 6 months ago

Please, rebase to master and lets merge