--- trunk/t/2_condition.t 2006/01/04 22:43:24 16 +++ trunk/t/2_condition.t 2006/01/04 22:46:16 17 @@ -3,7 +3,7 @@ use strict; use blib; -use Test::More tests => 8; +use Test::More tests => 14; use Test::Exception; #use Data::Dumper; @@ -17,3 +17,7 @@ ok($cond->set_order('@foo ASC'), 'set_order'); ok($cond->set_max(42), 'set_max, number'); throws_ok { $cond->set_max('foo') } qr/number/, 'set_max, NaN'; + +foreach my $opt (qw/SURE USUAL FAST AGITO NOIDF SIMPLE/) { + ok($cond->set_options( $opt ), 'set_option '.$opt); +}