Skip to main content
1 of 2
hotpaw2
  • 8k
  • 4
  • 23
  • 48

When testing a function call (void or not) that has a side effect, it’s most complete to make sure that the side effect not only occurs, but is the effect (system output or or state change) that is desired.

hotpaw2
  • 8k
  • 4
  • 23
  • 48