MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/cajaak/while_reviewing_code_today/fcua1ap/?context=3
r/badcode • u/andesz • Jul 08 '19
57 comments sorted by
View all comments
116
I'm almost tempted to ask what the unit test looks like
138 u/Kidiri90 Jul 08 '19 unit testWhat's that? 1 u/GideonMax Jan 02 '20 A unit test is code whose purpose is to test code you made.For example, if you made a function that multiplies a number by two, the unit test will feed the function some numbers and check the outputs
138
unit test
What's that?
1 u/GideonMax Jan 02 '20 A unit test is code whose purpose is to test code you made.For example, if you made a function that multiplies a number by two, the unit test will feed the function some numbers and check the outputs
1
A unit test is code whose purpose is to test code you made.
For example, if you made a function that multiplies a number by two, the unit test will feed the function some numbers and check the outputs
116
u/campbellm Jul 08 '19
I'm almost tempted to ask what the unit test looks like