From: Emmanuel Rodriguez Date: Fri, 18 Sep 2009 14:09:31 +0000 (+0200) Subject: Use a decel-rate above 1.0 as the current version of libchamplain 0.4 has a bug ... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dc3f4d57a977caecd4468ffa77995a17e4a34ac;p=libchamplain Use a decel-rate above 1.0 as the current version of libchamplain 0.4 has a bug (See #595552) --- diff --git a/bindings/perl/Champlain/t/ChamplainView.t b/bindings/perl/Champlain/t/ChamplainView.t index 1f9fc53..f730116 100644 --- a/bindings/perl/Champlain/t/ChamplainView.t +++ b/bindings/perl/Champlain/t/ChamplainView.t @@ -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()");