[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs 7714743aa8 103/472: UTs for pacmacs--track-point (
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs 7714743aa8 103/472: UTs for pacmacs--track-point (#75) |
Date: |
Thu, 6 Jan 2022 21:59:16 -0500 (EST) |
branch: elpa/pacmacs
commit 7714743aa84a0d68b9ac6032c4df195825e30dbd
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
UTs for pacmacs--track-point (#75)
---
test/pacmacs-test.el | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/test/pacmacs-test.el b/test/pacmacs-test.el
index 6dc813f469..24639df13f 100644
--- a/test/pacmacs-test.el
+++ b/test/pacmacs-test.el
@@ -38,3 +38,17 @@
['left 'right]]))
(should (not (pacmacs--cell-tracked-p 0 0)))
(should (pacmacs--cell-tracked-p 1 0))))
+
+(ert-deftest pacmacs--track-point-test ()
+ (let ((pacmacs-board-width 2)
+ (pacmacs-board-height 2)
+ (pacmacs-track-board [[nil nil]
+ [nil nil]]))
+ (pacmacs--track-point (cons 0 0) (cons 0 1))
+ (should (equal [[right nil]
+ [nil nil]]
+ pacmacs-track-board))
+ (pacmacs--track-point (cons 1 0) (cons 1 -1))
+ (should (equal [[right nil]
+ [left nil]]
+ pacmacs-track-board))))
- [nongnu] elpa/pacmacs 66f585899a 080/472: Fix pacman image UTs, (continued)
- [nongnu] elpa/pacmacs 66f585899a 080/472: Fix pacman image UTs, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs f7b17f7cde 079/472: Set same background as foreground for color block. Close #59, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 28fc537f40 084/472: Multiple ghost support. Close #64, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d637985f0b 095/472: Fix BFS wraparound bug. Close #73, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 952801d94a 098/472: UT for pacmacs--fill-board-test (#75), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 428b994240 096/472: Remove debug output stuff, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 9614f394e7 106/472: Merge branch 'board-functions-uts-75'. Close #75, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 1e29c2f943 101/472: UTs for pacmacs--cell-tracked-p (#75), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 0839611f42 108/472: Refactor out pacmacs--make-board function (#74), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 8aa9d50dda 102/472: Remove pacmacs--within-of-map-p (#75), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 7714743aa8 103/472: UTs for pacmacs--track-point (#75),
ELPA Syncer <=
- [nongnu] elpa/pacmacs 2c0bcf993f 107/472: Use two-argumented `<=`. Close #76, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e5bd77740d 119/472: Fix NPEs (#74), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 286eb99ae0 130/472: Implement prepare phase. Close #80, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d14cdd38e3 135/472: Fix last eaten pill visibility. Close #96, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 9cb186f10a 137/472: Refactor pacmacs-inversed-direction-table out. Close #103, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 91c317819c 123/472: Implement basic death mechanics (#69), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs be91d566cb 139/472: Implement Game Over state. Close #94, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b8cd22229d 142/472: Introduce pacmacs--anim-object-list-next-frame, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 91e432111b 145/472: Implement basic score table mechnism (#92), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 7058b61e47 146/472: Implement adding entries to score table (#92), ELPA Syncer, 2022/01/06