null+****@clear*****
null+****@clear*****
2012年 5月 31日 (木) 18:16:13 JST
HAYASHI Kentaro 2012-05-31 18:16:13 +0900 (Thu, 31 May 2012)
New Revision: 15ce52cc2ada2670c3d3f4d3b303baf8c5af3298
Log:
test: fix to return the value of correct direction
Modified files:
test/function/tools/geo/generate-grntest-data.rb
Modified: test/function/tools/geo/generate-grntest-data.rb (+3 -1)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb 2012-05-31 16:16:22 +0900 (fc2143f)
+++ test/function/tools/geo/generate-grntest-data.rb 2012-05-31 18:16:13 +0900 (6424445)
@@ -395,7 +395,9 @@ class GrnTestData
if within_specified_quadrant?("1st") or
within_specified_quadrant?("2nd") or
within_specified_quadrant?("3rd") or
- within_specified_quadrant?("4th")
+ within_specified_quadrant?("4th") or
+ quadrant == "1stto2nd"
+ quadrant == "2ndto1st"
if to_north?
"north"
elsif to_east?