[libchamplain: 32/39] Use a decel-rate above 1.0 as the current version of libchamplain 0.4 has a bug (See #595552)



commit 5dc3f4d57a977caecd4468ffa77995a17e4a34ac
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date:   Fri Sep 18 16:09:31 2009 +0200

    Use a decel-rate above 1.0 as the current version of libchamplain 0.4 has a bug (See #595552)

 bindings/perl/Champlain/t/ChamplainView.t |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
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()");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]