Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Unit Tests for dl_eval.py (#854)
* Adding Unit Tests for dl_eval.py This pull request introduces unit tests for the compute_correct and compute_accuracy functions. These tests utilize the pytest framework and incorporate "dummy tensors" to simulate various input conditions. * 🎨 Format Python code with psf/black * Added additional unit tests for edge cases Added 0 accuracy and between 0 and 1 Accuracy Unit tests * adding unit tests edge cases * fixing indentation fixing indentation * added Pytest parameterized tests added Pytest parameterized testing * 🎨 Format Python code with psf/black --------- Co-authored-by: yeaitsurya <yeaitsurya@users.noreply.github.com>
- Loading branch information