Re:Zig, Skia, Clojure, Geometry and the Japanese TV Show: IC...
by Arnavion on Thursday July 15, 2021 @07:57PM
(#27851564)
I am.
With the three mocks I gave, there are 2^3 - 1 = 7 possibilities of which mocks a particular test needs. Of these, three are degenerate cases of a single mock each which would be served by the individual make_* already, so that leaves four cases of make_foo* that you'd need to implement.
With more than three mocks, this number grows rapidly.
With the three mocks I gave, there are 2^3 - 1 = 7 possibilities of which mocks a particular test needs. Of these, three are degenerate cases of a single mock each which would be served by the individual make_* already, so that leaves four cases of make_foo* that you'd need to implement.
With more than three mocks, this number grows rapidly.