eliu1217 / assignment4-albumentations

Fast image augmentation library and an easy-to-use wrapper around other libraries. Documentation: https://albumentations.ai/docs/ Paper about the library: https://www.mdpi.com/2078-2489/11/2/125
https://albumentations.ai
MIT License
0 stars 0 forks source link

adds tests to improve coverage of `BasicTransform` #14

Closed gustafbergmark closed 1 year ago

gustafbergmark commented 1 year ago

This adds two new tests for BasicTransform: test_deterministic_targets_as_params checks that the proper warnings are raised when __call__ is invoked as deterministic with targets_as_params is set. test_basictransform_repr checks that the function __repr__ correctly returns a string representation of the BasicTransform, as this was previously untested. Required for #5.