add tests for broken SGFs
This commit is contained in:
1 parent
9727a049b4
commit
176a618458
2 files changed
+143
No files matched your search
@@ -91,6 +91,16 @@ def test_pandanet():
|
||||
assert move is root
|
||||
|
||||
|
||||
def test_old_long_properties():
|
||||
file = os.path.join(os.path.dirname(__file__), "data/xmgt97.sgf")
|
||||
SGF.parse_file(file)
|
||||
|
||||
|
||||
def test_old_server_style():
|
||||
input_sgf = "... 01:23:45 +0900 (JST) ... (;SZ[19];B[aa];W[ba];)"
|
||||
SGF.parse_sgf(input_sgf)
|
||||
|
||||
|
||||
def test_ogs():
|
||||
file = os.path.join(os.path.dirname(__file__), "data/ogs.sgf")
|
||||
tree = SGF.parse_file(file)
|
||||
|
||||
Reference in new issue
Block a user