Closed sakchal closed 8 months ago
Tests are failing on code check. Consider running locally make pre-commit
or explicitly black --check .
to find the issues.
OR
you can auto fix the issues by running black .
Please, consider doing the same for the rest of the PRs. Tag me when you are ready and I'll merge PRs.
The code check is failing due to some mypy errors occurring on the backend.py file. I haven't touched that file, so if you want me to go in and fix those errors, I can do that as well.
This PR introduces a suite of unit tests for constant.py located within the create_array directory. The primary functions in this file facilitate the creation of constant arrays, filled uniformly with a specified value.
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