Prev | Code Coverage - Tales From the Trenches | Next |
Can get very complicated
a if ($p && $q) || ($r && $s) || ($u && ($w || $x) && ($y || $z))
n variables => 2 ^ n combinations (ignoring shortcut operators)
n variables => 3 ^ (n - 1) combinations (with shortcut operators)
continued...
Slide 22 | YAPC::Europe::2003 | Copyright © 2003 Paul Johnson |