]> err.no Git - libchamplain/commitdiff
Use a decel-rate above 1.0 as the current version of libchamplain 0.4 has a bug ...
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Fri, 18 Sep 2009 14:09:31 +0000 (16:09 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Mon, 21 Sep 2009 16:19:45 +0000 (12:19 -0400)
bindings/perl/Champlain/t/ChamplainView.t

index 1f9fc5305279724447e0a06df9608c0889cc0196..f730116a496be1e79895ecadf8b500fcc95b1866 100644 (file)
@@ -78,8 +78,8 @@ sub test_generic {
 
        
        # Change the decel rate
-       $view->set_decel_rate(0.5);
-       is($view->get('decel-rate'), 0.5, "set_decel_rate()");
+       $view->set_decel_rate(1.2);
+       is($view->get('decel-rate'), 1.2, "set_decel_rate()");
        $view->set_decel_rate(1.5);
        is($view->get('decel-rate'), 1.5, "set_decel_rate()");
        is($view->get_decel_rate, 1.5, "get_decel_rate()");