[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 61/255: passing first 6 tests
From: |
Eric Schulte |
Subject: |
[elpa] 61/255: passing first 6 tests |
Date: |
Sun, 16 Mar 2014 01:02:20 +0000 |
eschulte pushed a commit to branch go
in repository elpa.
commit 53f323d55f1980e36d1cebda15212744479332fc
Author: Eric Schulte <address@hidden>
Date: Tue May 22 10:41:12 2012 -0400
passing first 6 tests
---
sgf-tests.el | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/sgf-tests.el b/sgf-tests.el
index 3b43978..e24945e 100644
--- a/sgf-tests.el
+++ b/sgf-tests.el
@@ -117,19 +117,19 @@
(board-to-string board)
(should t)))
-;; (defmacro with-sgf-file (file &rest body)
-;; (declare (indent 1))
-;; `(let* ((sgf (read-from-file ,file))
-;; (buffer (display-sgf sgf)))
-;; (unwind-protect (with-current-buffer buffer ,@body)
-;; (should (kill-buffer buffer)))))
-;; (def-edebug-spec parse-many (file body))
-
-;; (ert-deftest sgf-display-fresh-sgf-buffer ()
-;; (with-sgf-file "sgf-files/3-4-joseki.sgf"
-;; (should local-board)
-;; (should local-sgf)
-;; (should local-index)))
+(defmacro with-sgf-file (file &rest body)
+ (declare (indent 1))
+ `(let* ((sgf (sgf2el-file-to-el ,file))
+ (buffer (display-sgf sgf)))
+ (unwind-protect (with-current-buffer buffer ,@body)
+ (should (kill-buffer buffer)))))
+(def-edebug-spec parse-many (file body))
+
+(ert-deftest sgf-display-fresh-sgf-buffer ()
+ (with-sgf-file "sgf-files/3-4-joseki.sgf"
+ (should *board*)
+ (should *sgf*)
+ (should *index*)))
;; (ert-deftest sgf-independent-points-properties ()
;; (with-sgf-file "sgf-files/3-4-joseki.sgf"
- [elpa] 48/255: all tests are passing, (continued)
- [elpa] 48/255: all tests are passing, Eric Schulte, 2014/03/15
- [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 <=
- [elpa] 59/255: passing first two tests, Eric Schulte, 2014/03/15
- [elpa] 62/255: automatically normalize elisp sgf buffers, Eric Schulte, 2014/03/15
- [elpa] 58/255: able to load and play through games w/sgf2el, Eric Schulte, 2014/03/15
- [elpa] 60/255: passing first five tests, Eric Schulte, 2014/03/15
- [elpa] 64/255: passing all tests, Eric Schulte, 2014/03/15
- [elpa] 67/255: support for converting *very* large files, Eric Schulte, 2014/03/15
- [elpa] 63/255: consistently passing first 7 tests, Eric Schulte, 2014/03/15
- [elpa] 73/255: indentation, Eric Schulte, 2014/03/15
- [elpa] 66/255: parsing weird comments, Eric Schulte, 2014/03/15
- [elpa] 72/255: tweak header, Eric Schulte, 2014/03/15