News for hackers. Stuff that matters.
Re:Ask HN: Writing unit test mocks vs. real dependencies? by dragontamer on Wednesday October 21, 2020 @06:16PM (#24852845)
bitonicSort() is a hypothetical dependency. So at least, by my reading of the comment, it seems like you'd be recommending to mock out bitonicSort().
Re:Ask HN: Writing unit test mocks vs. real dependencies? by goatcode on Thursday October 22, 2020 @12:14PM (#24859638)
Only if bitonicSort is something that you'd written and would test elsewhere, or it reaches out to resources outside of the immediate software in which its used.