From 61df68cdb3ee9fed7e06db128b057dc4c9fccd0a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 1 Sep 2008 23:20:15 -0400 Subject: The 'start' parameter passed in is now a 0-based index, like what is expected by chess-database.el. --- chess-test.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'chess-test.el') diff --git a/chess-test.el b/chess-test.el index 8df18a9..77fbc6d 100644 --- a/chess-test.el +++ b/chess-test.el @@ -25,9 +25,7 @@ (message "Running validation suite...") (let* ((db-count (chess-database-count database)) (ply-count 0) - (index (if start - (1- start) - 0)) + (index (or start 0)) (last-index (if (and count (> count 0)) (min db-count (+ index count)) db-count)) -- cgit v1.2.3