Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix int/float conversion to bool (hypermodeinc#2893)
* fix conversion from int/float to bool to make zero equal to false * added tests for int/float -> bool conversion * change convert empty string to boolean false * update test to account for empty string to bool false * added truthy value test * added falsy value test * simplified tests and added more cases * refactor tests for legibility and support * empty binary should be false * compacted tests a bit except when failure cases are expected * fixed typo
- Loading branch information