Jul-21-2017, 03:25 AM
Be a little careful of the way you test an expression such as this.
What could be happening is that it is just taking one of the values and using that.
You probably should test if 'Bob' or 'Carol', 'Alice' or 'Bob', 'Ted' or 'Alice' and even 'Carol' or 'Bob' (i.e. is it just taking the first name) also produce the required result.
(The principle behind this is to test edge cases, and for false positives and false negatives.)
Susan
What could be happening is that it is just taking one of the values and using that.
You probably should test if 'Bob' or 'Carol', 'Alice' or 'Bob', 'Ted' or 'Alice' and even 'Carol' or 'Bob' (i.e. is it just taking the first name) also produce the required result.
(The principle behind this is to test edge cases, and for false positives and false negatives.)
Susan