[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 48/255: all tests are passing
From: |
Eric Schulte |
Subject: |
[elpa] 48/255: all tests are passing |
Date: |
Sun, 16 Mar 2014 01:02:17 +0000 |
eschulte pushed a commit to branch go
in repository elpa.
commit 713702a06ff65894fb96f8d0f846bdb6564a0c00
Author: Eric Schulte <address@hidden>
Date: Sat May 19 19:34:19 2012 -0400
all tests are passing
---
sgf.el | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/sgf.el b/sgf.el
index 72612af..0cdb9b0 100644
--- a/sgf.el
+++ b/sgf.el
@@ -541,7 +541,16 @@
(tree (parse-trees str)))
(should (= 2 (length tree)))
(should (= 9 (length (car (first tree)))))
- (should (= 2 (length (second tree))))))
+ (should (= 2 (length (car (second tree)))))))
+
+(setf *game* (parse-trees "(;GM[1]FF[4]
+ SZ[19]
+ GN[GNU Go 3.7.11 load and print]
+ DT[2008-12-14]
+ KM[0.0]HA[0]RU[Japanese]AP[GNU Go:3.7.11]
+ (;AW[ja][oa][pa][db][eb] ;AB[fa][ha][ia][qa][cb]))"))
+
+(length (car (second *game*)))
(ert-deftest sgf-parse-file-test ()
(let ((game (car (read-from-file "sgf-files/jp-ming-5.sgf"))))
@@ -666,5 +675,5 @@
(ert-deftest sgf-paren-matching ()
(let ((str "(a (b) [c \\] ) ] d)"))
- (should (= (closing-paren str) (1- (length str))))
- (should (= (closing-paren str 3) 5))))
+ (should (= (closing-paren str) (length str)))
+ (should (= (closing-paren str 3) 6))))
- [elpa] 36/255: passing all tests (at least it did this once), (continued)
- [elpa] 36/255: passing all tests (at least it did this once), Eric Schulte, 2014/03/15
- [elpa] 26/255: improvements, considering labels and moves, Eric Schulte, 2014/03/15
- [elpa] 40/255: parsing empty properties, Eric Schulte, 2014/03/15
- [elpa] 42/255: more work with tree parsing, Eric Schulte, 2014/03/15
- [elpa] 46/255: TODO: try using load-read-function and try loading these files w/read, Eric Schulte, 2014/03/15
- [elpa] 45/255: looking at a new method of parsing trees, Eric Schulte, 2014/03/15
- [elpa] 44/255: indentation, Eric Schulte, 2014/03/15
- [elpa] 43/255: paren matching, Eric Schulte, 2014/03/15
- [elpa] 49/255: removed debug stuffs, Eric Schulte, 2014/03/15
- [elpa] 47/255: parsing of sgf files with alternative paths working, Eric Schulte, 2014/03/15
- [elpa] 48/255: all tests are passing,
Eric Schulte <=
- [elpa] 52/255: more condensed collecting of games w/alternatives, Eric Schulte, 2014/03/15
- [elpa] 51/255: parsing large complex files, Eric Schulte, 2014/03/15
- [elpa] 39/255: passing all tests, Eric Schulte, 2014/03/15
- [elpa] 50/255: whitespace, Eric Schulte, 2014/03/15
- [elpa] 41/255: simplified parse-tree, but not done, Eric Schulte, 2014/03/15
- [elpa] 53/255: passing all tests, Eric Schulte, 2014/03/15
- [elpa] 54/255: more parsing/syntax tweaks, Eric Schulte, 2014/03/15
- [elpa] 56/255: some utility functions, Eric Schulte, 2014/03/15
- [elpa] 55/255: new approach to parsing sgf files into elisp, Eric Schulte, 2014/03/15
- [elpa] 61/255: passing first 6 tests, Eric Schulte, 2014/03/15