MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/11a4i8o/you_must_assert/j9qbsec/?context=3
r/badcode • u/ReplacementAcademic8 • Feb 23 '23
13 comments sorted by
View all comments
Show parent comment
12
0 will not be consered null by the assert. In fact, the function returned 0, though it shouldn't. This is due to another error in the test dataset.
View all comments
Show parent comment
12
u/ReplacementAcademic8 Feb 23 '23
0 will not be consered null by the assert. In fact, the function returned 0, though it shouldn't. This is due to another error in the test dataset.