# $Id: time_atmost.t,v 1.1 2007/03/05 09:36:41 jonasbn Exp $

use strict;
use Test::More tests => 3;

BEGIN { use_ok('Test::Timer'); };

time_atmost( sub { sleep(1); }, 2, 'Passing test' ); 

time_atmost( sub { sleep(1); }, [0, 2], 'Passing test' );
