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

unit tests for iotafunction #19

Merged
merged 2 commits into from
Mar 2, 2024
Merged

unit tests for iotafunction #19

merged 2 commits into from
Mar 2, 2024

Conversation

sakchal
Copy link
Contributor

@sakchal sakchal commented Feb 23, 2024

This PR introduces a suite of unit tests for iota.py located within the within the create_array directory. The primary functions in this file facilitate the creation of an iota array, an array that is filled with sequential numbers starting from 0 according to the specified dimensions and tiling dimensions.

Correct Array Shape: Ensures that arrays are instantiated with the intended dimensions.
Correct Array T-Shape: Ensures that the tiling shape is valid
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 and the given tshape

@roaffix roaffix merged commit cdc9098 into arrayfire:master Mar 2, 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