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 unit tests for range function #25

Closed sakchal closed 4 months ago

sakchal commented 6 months ago

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

Shape: Ensures that a random AFArray with the correct shape is produced and that invalid shapes are correctly handled. Dim: Ensures that invalid dimensions inputs are correctly handled.

syurkevi commented 5 months ago

Rebase please