go_gtp 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/go/gtp/point.rb +1 -1
- data/lib/go/gtp.rb +1 -1
- data/spec/point_spec.rb +3 -0
- metadata +2 -2
data/lib/go/gtp/point.rb
CHANGED
data/lib/go/gtp.rb
CHANGED
data/spec/point_spec.rb
CHANGED
@@ -70,6 +70,9 @@ describe Go::GTP::Point do
|
|
70
70
|
it "should skip over the unused I column" do
|
71
71
|
Go::GTP::Point.new("H19").to_indices.should satisfy { |ln| ln == [7, 0] }
|
72
72
|
Go::GTP::Point.new("J19").to_indices.should satisfy { |ln| ln == [8, 0] }
|
73
|
+
|
74
|
+
Go::GTP::Point.new("ha").to_gnugo.should satisfy { |ln| ln == "H19" }
|
75
|
+
Go::GTP::Point.new("ia").to_gnugo.should satisfy { |ln| ln == "J19" }
|
73
76
|
end
|
74
77
|
end
|
75
78
|
end
|