test/test-board.rb in shogi-ruby-0.0.5 vs test/test-board.rb in shogi-ruby-0.0.6

- old
+ new

@@ -117,9 +117,13 @@ lnsgkgsnl/1r5b1/ppppppppp/9/9/9/PPPPPPPPP/1B5R1/LNSGKGSNL EOT assert_equal(before_state, @board.instance_variable_get(:@position)) end + def test_at + assert_equal("-KY", @board.at("11")) + end + def test_move_csa @board.default_format = :csa assert_raise Shogi::Board::FormatError do @board.move("+27FU")