Thank you for the prompt replies.

On 9/30/03 5:18 PM, "Andy Lester" <[EMAIL PROTECTED]> wrote:

> Rather than thinking of it in terms of what the function should
> return, think of it as what you're expecting.  For example, you might:
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> my @vars = $librarian->term_ids( ... );
> is( scalar @vars, 3, "Got back three items" );
> is( $vars[0], "Smith", "Checking name" );
> is( $vars[1], "HR128", "Checking homeroom" );
> ok( !$vars[2], "Checking that Smith is NOT the principal" );

I can implement this, and "think of what you're expecting" makes a lot of
sense. Thank you.

-- 
Eric Morgan

Reply via email to